You are on page 1of 5

(* Content-type: application/mathematica *)

(*** Wolfram Notebook File ***)


(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 7.0' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 145, 7]
NotebookDataLength[ 8350, 263]
NotebookOptionsPosition[ 7452, 228]
NotebookOutlinePosition[ 7796, 243]
CellTagsIndexPosition[ 7753, 240]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"vel", " ", "=", " ",
RowBox[{"DSolve", "[",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"v", "'"}], "[", "t", "]"}], " ", "\[Equal]", " ",
RowBox[{"18.19", " ", "-", " ",
RowBox[{"0.02", " ", "*", " ",
RowBox[{
RowBox[{"(",
RowBox[{"v", "[", "t", "]"}], ")"}], "^", "2"}]}]}]}], ",", " ",
RowBox[{"v", "[", "t", "]"}], ",", " ", "t"}], "]"}]}]], "Input",
CellChangeTimes->{{3.4903434338510714`*^9, 3.490343468675063*^9}}],
Cell[BoxData[
RowBox[{"{",
RowBox[{"{",
RowBox[{
RowBox[{"v", "[", "t", "]"}], "\[Rule]",
FractionBox[
RowBox[{"30.157917700000443`", " ",
RowBox[{"(",
RowBox[{
SuperscriptBox["2.718281828459045`",
RowBox[{"1.2063167080000177`", " ", "t"}]], "-",
RowBox[{"1.`", " ",
SuperscriptBox["2.718281828459045`",
RowBox[{"120.63167080000177`", " ",
RowBox[{"C", "[", "1", "]"}]}]]}]}], ")"}]}],
RowBox[{
SuperscriptBox["2.718281828459045`",
RowBox[{"1.2063167080000177`", " ", "t"}]], "+",
SuperscriptBox["2.718281828459045`",
RowBox[{"120.63167080000177`", " ",
RowBox[{"C", "[", "1", "]"}]}]]}]]}], "}"}], "}"}]], "Output",
CellChangeTimes->{3.4903434888962193`*^9}]
}, Open ]],
Cell[BoxData[
RowBox[{"{",
RowBox[{"{",
RowBox[{
RowBox[{"v", "[", "t", "]"}], "\[Rule]",
RowBox[{
RowBox[{"(",
RowBox[{"30.157917700000443`", " ",
RowBox[{"(",
RowBox[{
SuperscriptBox["2.718281828459045`",
RowBox[{"1.2063167080000177`", " ", "t"}]], "-",
RowBox[{"1.`", " ",
SuperscriptBox["2.718281828459045`",
RowBox[{"120.63167080000177`", " ",
RowBox[{"C", "[", "1", "]"}]}]]}]}], ")"}]}], ")"}], "/",
RowBox[{"(",
RowBox[{
SuperscriptBox["2.718281828459045`",
RowBox[{"1.2063167080000177`", " ", "t"}]], "+",
SuperscriptBox["2.718281828459045`",
RowBox[{"120.63167080000177`", " ",
RowBox[{"C", "[", "1", "]"}]}]]}], ")"}]}]}], "}"}], "}"}]], "Input",
CellChangeTimes->{{3.49034347666652*^9, 3.4903434937404966`*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"velocity", " ", "=",
RowBox[{
RowBox[{"(",
RowBox[{"30.157917700000443`", " ",
RowBox[{"(",
RowBox[{
SuperscriptBox["2.718281828459045`",
RowBox[{"1.2063167080000177`", " ", "t"}]], "-", "A"}], ")"}]}],
")"}], "/",
RowBox[{"(",
RowBox[{
SuperscriptBox["2.718281828459045`",
RowBox[{"1.2063167080000177`", " ", "t"}]], "+", "A"}], ")"}]}]}],
"\[IndentingNewLine]"}]], "Input",
CellChangeTimes->{{3.490343484434964*^9, 3.4903435140346575`*^9}, {
3.4903435754171686`*^9, 3.4903435779563136`*^9}, {3.490343625831052*^9,
3.490343644652128*^9}, {3.4903439560899415`*^9, 3.490343966935562*^9}}],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[IndentingNewLine]",
RowBox[{"VELOCITY", " ", "=", " ",
RowBox[{"30.1579",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"e", "^",
RowBox[{"(",
RowBox[{"1.20632", " ", "*", " ", "t"}], " ", ")"}]}], "-", " ",
"A"}], ")"}], " ", "/", " ",
RowBox[{"(",
RowBox[{
RowBox[{"e", "^",
RowBox[{"(",
RowBox[{"1.20632", "t"}], ")"}]}], " ", "+", " ", "A"}],
")"}]}]}]}]}]], "Input",
CellChangeTimes->{{3.490344021344674*^9, 3.490344094264845*^9}}],
Cell[BoxData[
FractionBox[
RowBox[{"30.1579`", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "A"}], "+",
SuperscriptBox["e",
RowBox[{"1.20632`", " ", "t"}]]}], ")"}]}],
RowBox[{"A", "+",
SuperscriptBox["e",
RowBox[{"1.20632`", " ", "t"}]]}]]], "Output",
CellChangeTimes->{3.490344172717332*^9}]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"A", " ", "=", " ",
RowBox[{"e", "^", "1.20632"}]}]], "Input",
CellChangeTimes->{{3.490344269957894*^9, 3.4903443015497007`*^9}}],
Cell[BoxData[
SuperscriptBox["e", "1.20632`"]], "Output",
CellChangeTimes->{3.490344303471811*^9}]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"s", " ", "=", " ",
RowBox[{"Integrate", "[",
RowBox[{"VELOCITY", ",", " ", "t"}], "]"}]}]], "Input",
CellChangeTimes->{{3.490344306302973*^9, 3.4903443480833626`*^9}}],
Cell[BoxData[
RowBox[{"30.1579`", " ",
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "1.`"}], " ", "t"}], "+",
FractionBox[
RowBox[{"1.6579348763180581`", " ",
RowBox[{"Log", "[",
RowBox[{
SuperscriptBox["e", "1.20632`"], "+",
SuperscriptBox["e",
RowBox[{"1.20632`", " ", "t"}]]}], "]"}]}],
RowBox[{"Log", "[", "e", "]"}]]}], ")"}]}]], "Output",
CellChangeTimes->{3.4903443099531813`*^9, 3.490344348863407*^9}]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"FindRoot", "[",
RowBox[{
RowBox[{"s", " ", "-", " ", "100"}], ",", " ",
RowBox[{"{",
RowBox[{"t", ",", " ", "3"}], "}"}]}], "]"}]], "Input",
CellChangeTimes->{{3.4903443571838827`*^9, 3.49034436902456*^9}, {
3.490344415587223*^9, 3.4903444576386285`*^9}, {3.490344513272811*^9,
3.490344519350158*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"FindRoot", "::", "\<\"nlnum\"\>"}],
RowBox[{
":", " "}], "\<\"\\!\\(\\*StyleBox[\\\"\\\\\\\"The function value \
\\\\\\\"\\\", \
\\\"MT\\\"]\\)\[NoBreak]\\!\\(\\*StyleBox[\\!\\({\\(\\(-100.`\\)\\) + \
\\(\\(30.1579`\\\\ \\(\\((\\(\\(-3.`\\)\\) + \\(1.6579348763180581`\\\\ \
\\(\\(Log[\\(\\(\\(\\(\[LeftSkeleton] 1 \[RightSkeleton]\\)\\) + \\(\\(\
\[LeftSkeleton] 1 \
\[RightSkeleton]\\)\\)\\)\\)]\\)\\)\\)\\/\\(Log[e]\\))\\)\\)\\)\\)}\\), \
\\\"MT\\\"]\\)\[NoBreak]\\!\\(\\*StyleBox[\\\"\\\\\\\" is not a list of \
numbers with dimensions \\\\\\\"\\\", \
\\\"MT\\\"]\\)\[NoBreak]\\!\\(\\*StyleBox[\\!\\({1}\\), \\\"MT\\\"]\\)\
\[NoBreak]\\!\\(\\*StyleBox[\\\"\\\\\\\" at \\\\\\\"\\\", \\\"MT\\\"]\\)\
\[NoBreak]\\!\\(\\*StyleBox[\\!\\({t}\\), \
\\\"MT\\\"]\\)\[NoBreak]\\!\\(\\*StyleBox[\\\"\\\\\\\" = \\\\\\\"\\\", \\\"MT\
\\\"]\\)\[NoBreak]\\!\\(\\*StyleBox[\\!\\({3.`}\\), \
\\\"MT\\\"]\\)\[NoBreak]\\!\\(\\*StyleBox[\\\"\\\\\\\".\\\\\\\"\\\", \\\"MT\\\
\"]\\) \\!\\(\\*ButtonBox[\\\"\[RightSkeleton]\\\", \
ButtonStyle->\\\"Link\\\", ButtonFrame->None, \
ButtonData:>\\\"paclet:ref/FindRoot\\\", ButtonNote -> \
\\\"FindRoot::nlnum\\\"]\\)\"\>"}]], "Message", "MSG",
CellChangeTimes->{
3.4903443707966614`*^9, {3.490344421562565*^9, 3.4903444582436633`*^9},
3.4903445197561817`*^9}],
Cell[BoxData[
RowBox[{"FindRoot", "[",
RowBox[{
RowBox[{"s", "-", "100"}], ",",
RowBox[{"{",
RowBox[{"t", ",", "3"}], "}"}]}], "]"}]], "Output",
CellChangeTimes->{
3.4903443708006616`*^9, {3.4903444215765657`*^9, 3.490344458261664*^9},
3.490344519770182*^9}]
}, Open ]]
},
WindowSize->{607, 750},
WindowMargins->{{Automatic, 7}, {60, Automatic}},
FrontEndVersion->"7.0 for Microsoft Windows (32-bit) (November 10, 2008)",
StyleDefinitions->"Default.nb"
]
(* End of Notebook Content *)
(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{}
*)
(*CellTagsIndex
CellTagsIndex->{}
*)
(*NotebookFileOutline
Notebook[{
Cell[CellGroupData[{
Cell[567, 22, 503, 13, 31, "Input"],
Cell[1073, 37, 801, 21, 51, "Output"]
}, Open ]],
Cell[1889, 61, 892, 23, 173, InheritFromParent],
Cell[2784, 86, 709, 18, 106, "Input"],
Cell[CellGroupData[{
Cell[3518, 108, 561, 17, 52, "Input"],
Cell[4082, 127, 331, 11, 51, "Output"]
}, Open ]],
Cell[CellGroupData[{
Cell[4450, 143, 156, 3, 31, "Input"],
Cell[4609, 148, 100, 2, 30, "Output"]
}, Open ]],
Cell[CellGroupData[{
Cell[4746, 155, 199, 4, 31, "Input"],
Cell[4948, 161, 484, 14, 55, "Output"]
}, Open ]],
Cell[CellGroupData[{
Cell[5469, 180, 346, 8, 31, "Input"],
Cell[5818, 190, 1334, 25, 80, "Message"],
Cell[7155, 217, 281, 8, 30, "Output"]
}, Open ]]
}
]
*)
(* End of internal cache information *)