(* Content-type: application/mathematica *) (*** Wolfram Notebook File ***) (* http://www.wolfram.com/nb *) (* CreatedBy='Mathematica 6.0' *) (*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 145, 7] NotebookDataLength[ 68705, 2097] NotebookOptionsPosition[ 62595, 1891] NotebookOutlinePosition[ 63064, 1909] CellTagsIndexPosition[ 63021, 1906] WindowFrame->Normal*) (* Beginning of Notebook Content *) Notebook[{ Cell[CellGroupData[{ Cell["Phys 261 Hwk #9", "Section", CellChangeTimes->{{3.4373463738569*^9, 3.4373464019837*^9}, { 3.4687588287314997`*^9, 3.4687588318047*^9}, {3.5000345176112003`*^9, 3.5000345197796*^9}, {3.53147779765974*^9, 3.531477799419841*^9}, { 3.5318238485266633`*^9, 3.5318238542989283`*^9}}], Cell["\<\ The agenda is to work through various homework problems. Your task is (a) to \ evaluate each cell in order, (b) do a few Plots and things as asked for below, and (c) to play with it as \ much as you have time/desire. There is nothing to hand in, but you may want to print out a few cells for \ your own reference.\ \>", "Text", CellChangeTimes->{{3.437390502013*^9, 3.437390641606*^9}, {3.437390677984*^9, 3.437390709205*^9}, {3.53173855596369*^9, 3.531738578006529*^9}}], Cell[CellGroupData[{ Cell["BTM 3.2.2", "Subsection", CellChangeTimes->{{3.4373464089101*^9, 3.4373464136525*^9}, { 3.4373464966405*^9, 3.4373464975765*^9}}], Cell[TextData[{ "As a warm-up, why not ask ", StyleBox["Mathematica", FontSlant->"Italic"], " to do the integral to find the area of a circle?\nThat is, breaking it up \ in to sticks of width dx and length 2 y = 2 Sqrt[R^2-x^2], \nwe want to \ integrate x from -R to R:" }], "Text", CellChangeTimes->{{3.53148261559031*^9, 3.531482682487136*^9}, { 3.531482722440421*^9, 3.531482736645234*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"Integrate", "[", RowBox[{ RowBox[{"2", " ", RowBox[{"Sqrt", "[", RowBox[{ RowBox[{"R", "^", "2"}], "-", RowBox[{"x", "^", "2"}]}], "]"}]}], ",", RowBox[{"{", RowBox[{"x", ",", RowBox[{"-", "R"}], ",", "R"}], "}"}], ",", RowBox[{"Assumptions", "\[Rule]", RowBox[{"R", ">", "0"}]}]}], "]"}]], "Input", CellChangeTimes->{{3.531482740403449*^9, 3.53148275022101*^9}, { 3.531823860288593*^9, 3.5318238911318054`*^9}}], Cell[BoxData[ RowBox[{"\[Pi]", " ", SuperscriptBox["R", "2"]}]], "Output", CellChangeTimes->{{3.53182389223123*^9, 3.5318239027073107`*^9}}] }, Open ]], Cell["\<\ As an example of a double integral, here is the integral for a (hemi-)sphere. Note the syntax for a double integral; the order of integration matters!\ \>", "Text", CellChangeTimes->{{3.4373465018977003`*^9, 3.4373465521141*^9}, { 3.4373467027621*^9, 3.4373467528217*^9}, {3.4688432720989*^9, 3.4688432915209*^9}, {3.4688433396781*^9, 3.4688433520488997`*^9}, 3.531482608825923*^9, {3.5314827690550876`*^9, 3.5314827765915184`*^9}}], Cell[BoxData[ RowBox[{"Integrate", "[", RowBox[{ RowBox[{"Sqrt", "[", RowBox[{ RowBox[{"R", "^", "2"}], "-", RowBox[{"x", "^", "2"}], "-", RowBox[{"y", "^", "2"}]}], "]"}], ",", RowBox[{"{", RowBox[{"y", ",", RowBox[{"-", "R"}], ",", "R"}], "}"}], ",", RowBox[{"{", RowBox[{"x", ",", RowBox[{"-", RowBox[{"Sqrt", "[", RowBox[{ RowBox[{"R", "^", "2"}], "-", RowBox[{"y", "^", "2"}]}], "]"}]}], ",", RowBox[{"Sqrt", "[", RowBox[{ RowBox[{"R", "^", "2"}], "-", RowBox[{"y", "^", "2"}]}], "]"}]}], "}"}], ",", RowBox[{"Assumptions", "\[Rule]", RowBox[{"{", RowBox[{"R", ">", "0"}], "}"}]}]}], "]"}]], "Input", CellChangeTimes->{{3.4373465574168997`*^9, 3.4373466025945*^9}, { 3.4373466871465*^9, 3.4373466905941*^9}, {3.5314826957168927`*^9, 3.5314826960589123`*^9}, {3.531482765320874*^9, 3.531482765461882*^9}}], Cell["\<\ Try taking off the Assumptions option. And try it with the x and y ranges out of order to see what happens when you \ make a mistake:\ \>", "Text", CellChangeTimes->{{3.4688433564013*^9, 3.4688433840757*^9}, { 3.4688439723517*^9, 3.4688439986689*^9}}], Cell[BoxData[ RowBox[{"Integrate", "[", RowBox[{ RowBox[{"Sqrt", "[", RowBox[{ RowBox[{"R", "^", "2"}], "-", RowBox[{"x", "^", "2"}], "-", RowBox[{"y", "^", "2"}]}], "]"}], ",", RowBox[{"{", RowBox[{"x", ",", RowBox[{"-", RowBox[{"Sqrt", "[", RowBox[{ RowBox[{"R", "^", "2"}], "-", RowBox[{"y", "^", "2"}]}], "]"}]}], ",", RowBox[{"Sqrt", "[", RowBox[{ RowBox[{"R", "^", "2"}], "-", RowBox[{"y", "^", "2"}]}], "]"}]}], "}"}], ",", RowBox[{"{", RowBox[{"y", ",", RowBox[{"-", "R"}], ",", "R"}], "}"}], ",", RowBox[{"Assumptions", "\[Rule]", RowBox[{"{", RowBox[{"R", ">", "0"}], "}"}]}]}], "]"}]], "Input", CellChangeTimes->{{3.4688433255289*^9, 3.4688433291949*^9}}], Cell["\<\ And how do you ask for the volume of a cone? Try it the \"brute force\" way, \ by writing a triple integral over x y and z.\ \>", "Text", CellChangeTimes->{{3.4373467624157*^9, 3.4373467701377*^9}, { 3.4373469605357*^9, 3.4373469774305*^9}, {3.4373470112669*^9, 3.4373470126709003`*^9}, {3.4688433888649*^9, 3.4688434397833*^9}}], Cell[CellGroupData[{ Cell["\<\ Try it yourself before double clicking on this cell\[CloseCurlyQuote]s \ little arrow bracket over there ----->>\ \>", "Subsubsection", CellChangeTimes->{{3.4373470465073*^9, 3.4373471353649*^9}, { 3.531738620906604*^9, 3.531738641857441*^9}}], Cell["\<\ So z will vary from 0 to h. Then given z, y ranges between the limits \ defined by the appropriate lines, and given y and z, x ranges over the limits \ given by the appropriate circle:\ \>", "Text", CellChangeTimes->{{3.4688434508437*^9, 3.4688434827457*^9}, { 3.4688435188441*^9, 3.4688435733505*^9}}], Cell[BoxData[ RowBox[{"Integrate", "[", RowBox[{"1", ",", RowBox[{"{", RowBox[{"z", ",", "0", ",", "h"}], "}"}], ",", RowBox[{"{", RowBox[{"y", ",", RowBox[{ RowBox[{"-", "z"}], " ", RowBox[{"R", "/", "h"}]}], ",", RowBox[{"z", " ", RowBox[{"R", "/", "h"}]}]}], "}"}], ",", RowBox[{"{", RowBox[{"x", ",", RowBox[{"-", RowBox[{"Sqrt", "[", RowBox[{ RowBox[{ RowBox[{"(", RowBox[{"z", " ", RowBox[{"R", " ", "/", "h"}]}], ")"}], "^", "2"}], "-", RowBox[{"y", "^", "2"}]}], "]"}]}], ",", RowBox[{"Sqrt", "[", RowBox[{ RowBox[{ RowBox[{"(", RowBox[{"z", " ", RowBox[{"R", "/", "h"}]}], ")"}], "^", "2"}], "-", RowBox[{"y", "^", "2"}]}], "]"}]}], "}"}], ",", RowBox[{"Assumptions", "\[Rule]", RowBox[{"R", ">", "0"}]}]}], "]"}]], "Input", CellChangeTimes->{{3.4373467402637*^9, 3.4373467445225*^9}, { 3.4373467808080997`*^9, 3.4373467969697*^9}, {3.4373468269841003`*^9, 3.4373469328768997`*^9}}] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell["Morin 8.42 -- Falling Quickly", "Subsection", CellChangeTimes->{{3.4373471572517*^9, 3.4373471810261*^9}}], Cell["\<\ To fall quickly, i.e. with maximal angular acceleration, one wants to \ maximize the ratio of torque to moment of inertia. Whether talking about the \ first moment in time or any other t, I claim that you will encounter the \ function\ \>", "Text", CellChangeTimes->{{3.4373472404933*^9, 3.4373472490733*^9}, { 3.531738700669544*^9, 3.531738804019726*^9}}], Cell[BoxData[ RowBox[{ RowBox[{"f", "[", "x_", "]"}], " ", "=", " ", RowBox[{ RowBox[{"(", RowBox[{"1", "+", "x"}], ")"}], "/", RowBox[{"(", RowBox[{"1", "+", RowBox[{"x", "^", "2"}]}], ")"}]}]}]], "Input", CellChangeTimes->{{3.4373472516629*^9, 3.4373472774653*^9}}], Cell["\<\ Plot[] this function, and find its maximum, e.g. by Solve[]ing for when \ f'[x]==0, or by using the FindMaximum function.\ \>", "Text", CellChangeTimes->{{3.4373473190081*^9, 3.4373473268237*^9}, { 3.4373473866029*^9, 3.4373474224517*^9}}] }, Open ]], Cell[CellGroupData[{ Cell["\<\ Morin 8.18 -- Ball hitting stick\ \>", "Subsection", CellChangeTimes->{{3.4373474558513002`*^9, 3.4373474713577003`*^9}, { 3.531738850445407*^9, 3.531738850585808*^9}, {3.5317389851360435`*^9, 3.5317389930140576`*^9}}], Cell["\<\ So here is a rather generic collision between a ball and a stick, ignoring \ any external forces. A ball of mass M moving at v0 down the x-axis collides with a stick of length \ L, mass m, and moment of inertia I0 = \[Beta] m L^2 about its CM (BTW if the stick has uniform mass \ density, what is \[Beta]?). The collision takes place a distance d from the \ CM (which is at the middle of the stick), and afterward the ball continues one way or the \ other along the x-axis.\ \>", "Text", CellChangeTimes->{{3.531739023855312*^9, 3.5317392943113875`*^9}, { 3.5317399887466073`*^9, 3.5317400134102507`*^9}}], Cell["\<\ Your task: finish these conservation equations and then Solve:\ \>", "Text", CellChangeTimes->{{3.5317393779431343`*^9, 3.531739417598404*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"eqnPx", " ", "=", " ", RowBox[{ RowBox[{"M", " ", "v0"}], " ", "\[Equal]", " ", RowBox[{ RowBox[{"M", " ", "v1"}], " ", "+", " ", RowBox[{"m", " ", "v2"}]}]}]}]], "Input", CellChangeTimes->{{3.5317394252736177`*^9, 3.5317394780641103`*^9}, { 3.531739656185223*^9, 3.531739682284069*^9}, {3.531823943688822*^9, 3.531823949021285*^9}}], Cell[BoxData[ RowBox[{ RowBox[{"M", " ", "v0"}], "\[Equal]", RowBox[{ RowBox[{"M", " ", "v1"}], "+", RowBox[{"m", " ", "v2"}]}]}]], "Output", CellChangeTimes->{3.5318239502068872`*^9}] }, Open ]], Cell["\<\ Choosing an origin at the middle of the stick the incoming L is:\ \>", "Text", CellChangeTimes->{{3.5317395068305607`*^9, 3.5317395203713846`*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"eqnLz", " ", "=", " ", RowBox[{ RowBox[{"M", " ", "v0", " ", "d"}], " ", "\[Equal]", " ", RowBox[{ RowBox[{"M", " ", "v1", " ", "d"}], " ", "+", " ", RowBox[{ RowBox[{"(", RowBox[{"\[Beta]", " ", "m", " ", RowBox[{"L", "^", "2"}]}], ")"}], " ", "\[Omega]"}]}]}]}]], "Input", CellChangeTimes->{{3.531739481839317*^9, 3.531739493586138*^9}, { 3.5317395634742603`*^9, 3.5317395686066694`*^9}, {3.5318239521412907`*^9, 3.5318239718165426`*^9}}], Cell[BoxData[ RowBox[{ RowBox[{"d", " ", "M", " ", "v0"}], "\[Equal]", RowBox[{ RowBox[{"d", " ", "M", " ", "v1"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "m", " ", "\[Beta]", " ", "\[Omega]"}]}]}]], "Output", CellChangeTimes->{3.531823974512602*^9}] }, Open ]], Cell["\<\ And since we are told this is elastic ...\ \>", "Text", CellChangeTimes->{{3.5317395768746834`*^9, 3.5317396011171265`*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"eqnK", " ", "=", " ", RowBox[{ RowBox[{ RowBox[{"(", RowBox[{"1", "/", "2"}], ")"}], " ", "M", " ", RowBox[{"v0", "^", "2"}]}], " ", "\[Equal]", " ", RowBox[{ RowBox[{ RowBox[{"(", RowBox[{"1", "/", "2"}], ")"}], " ", "M", " ", RowBox[{"v1", "^", "2"}]}], " ", "+", " ", RowBox[{ RowBox[{"(", RowBox[{"1", "/", "2"}], ")"}], " ", "m", " ", RowBox[{"v2", "^", "2"}]}], " ", "+", " ", RowBox[{ RowBox[{"(", RowBox[{"1", "/", "2"}], ")"}], " ", RowBox[{"(", RowBox[{"\[Beta]", " ", "m", " ", RowBox[{"L", "^", "2"}]}], ")"}], " ", RowBox[{"\[Omega]", "^", "2"}]}]}]}]}]], "Input", CellChangeTimes->{{3.531739603862731*^9, 3.531739626435971*^9}, { 3.5317396939528894`*^9, 3.5317397001305003`*^9}, {3.5318239832916713`*^9, 3.531824004132063*^9}}], Cell[BoxData[ RowBox[{ FractionBox[ RowBox[{"M", " ", SuperscriptBox["v0", "2"]}], "2"], "\[Equal]", RowBox[{ FractionBox[ RowBox[{"M", " ", SuperscriptBox["v1", "2"]}], "2"], "+", FractionBox[ RowBox[{"m", " ", SuperscriptBox["v2", "2"]}], "2"], "+", RowBox[{ FractionBox["1", "2"], " ", SuperscriptBox["L", "2"], " ", "m", " ", "\[Beta]", " ", SuperscriptBox["\[Omega]", "2"]}]}]}]], "Output", CellChangeTimes->{3.5318240048196845`*^9}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"soln818", " ", "=", " ", RowBox[{"Solve", "[", RowBox[{ RowBox[{"{", RowBox[{"eqnPx", ",", "eqnLz", ",", "eqnK"}], "}"}], ",", RowBox[{"{", RowBox[{"v1", ",", "v2", ",", "\[Omega]"}], "}"}]}], "]"}]}]], "Input", CellChangeTimes->{{3.531739703890107*^9, 3.5317397312057548`*^9}, { 3.531824007378089*^9, 3.531824010415943*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"v1", "\[Rule]", "v0"}], ",", RowBox[{"v2", "\[Rule]", "0"}], ",", RowBox[{"\[Omega]", "\[Rule]", "0"}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"v1", "\[Rule]", FractionBox[ RowBox[{"v0", " ", RowBox[{"(", RowBox[{ RowBox[{ SuperscriptBox["d", "2"], " ", "M"}], "-", RowBox[{ SuperscriptBox["L", "2"], " ", "m", " ", "\[Beta]"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "M", " ", "\[Beta]"}]}], ")"}]}], RowBox[{ RowBox[{ SuperscriptBox["d", "2"], " ", "M"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "m", " ", "\[Beta]"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "M", " ", "\[Beta]"}]}]]}], ",", RowBox[{"v2", "\[Rule]", FractionBox[ RowBox[{"2", " ", SuperscriptBox["L", "2"], " ", "M", " ", "v0", " ", "\[Beta]"}], RowBox[{ RowBox[{ SuperscriptBox["d", "2"], " ", "M"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "m", " ", "\[Beta]"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "M", " ", "\[Beta]"}]}]]}], ",", RowBox[{"\[Omega]", "\[Rule]", FractionBox[ RowBox[{"2", " ", "d", " ", "M", " ", "v0"}], RowBox[{ RowBox[{ SuperscriptBox["d", "2"], " ", "M"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "m", " ", "\[Beta]"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "M", " ", "\[Beta]"}]}]]}]}], "}"}]}], "}"}]], "Output", CellChangeTimes->{3.531824012124752*^9}] }, Open ]], Cell["\<\ Note that there are various special cases you can \ \[OpenCurlyDoubleQuote]check\[CloseCurlyDoubleQuote] here. For example, if m-->0, one expects that the ball keeps its original velocity. Your task: think of other cases and check the limits. For example, what if \ d=0 and m=M? Or what if the \[OpenCurlyDoubleQuote]stick\[CloseCurlyDoubleQuote] is a \ massless rod protruding from one mass m (i.e. what is \[Beta], and what \ happens)?\ \>", "Text", CellChangeTimes->{{3.531739748272185*^9, 3.531739932539708*^9}, { 3.531740040803899*^9, 3.531740105684413*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"Limit", "[", RowBox[{ RowBox[{ RowBox[{"{", RowBox[{"v1", ",", "v2", ",", "\[Omega]"}], "}"}], "/.", RowBox[{"soln818", "[", RowBox[{"[", "2", "]"}], "]"}]}], " ", ",", " ", RowBox[{"m", "\[Rule]", "0"}]}], "]"}]], "Input", CellChangeTimes->{{3.531739851949967*^9, 3.531739867362794*^9}, { 3.5318240217025833`*^9, 3.5318240395523777`*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{"v0", ",", FractionBox[ RowBox[{"2", " ", SuperscriptBox["L", "2"], " ", "v0", " ", "\[Beta]"}], RowBox[{ SuperscriptBox["d", "2"], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "\[Beta]"}]}]], ",", FractionBox[ RowBox[{"2", " ", "d", " ", "v0"}], RowBox[{ SuperscriptBox["d", "2"], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "\[Beta]"}]}]]}], "}"}]], "Output", CellChangeTimes->{{3.5318240323967104`*^9, 3.531824039801978*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"Limit", "[", RowBox[{ RowBox[{ RowBox[{"{", RowBox[{"v1", ",", "v2", ",", "\[Omega]"}], "}"}], "/.", RowBox[{"soln818", "[", RowBox[{"[", "2", "]"}], "]"}]}], " ", ",", " ", RowBox[{"\[Beta]", "\[Rule]", "0"}]}], "]"}]], "Input", CellChangeTimes->{{3.531739851949967*^9, 3.531739867362794*^9}, { 3.5318240217025833`*^9, 3.5318240525344677`*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{"v0", ",", "0", ",", FractionBox[ RowBox[{"2", " ", "v0"}], "d"]}], "}"}]], "Output", CellChangeTimes->{{3.5318240323967104`*^9, 3.531824054004073*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"Limit", "[", RowBox[{ RowBox[{ RowBox[{"{", RowBox[{"v1", ",", "v2", ",", "\[Omega]"}], "}"}], "/.", RowBox[{"soln818", "[", RowBox[{"[", "2", "]"}], "]"}]}], " ", ",", " ", RowBox[{"m", "\[Rule]", "Infinity"}]}], "]"}]], "Input", CellChangeTimes->{{3.531739851949967*^9, 3.531739867362794*^9}, { 3.5318240217025833`*^9, 3.5318240525344677`*^9}, {3.5318240884284163`*^9, 3.5318241132670364`*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"-", "v0"}], ",", "0", ",", "0"}], "}"}]], "Output", CellChangeTimes->{{3.5318240323967104`*^9, 3.531824054004073*^9}, { 3.5318240946231365`*^9, 3.531824113654438*^9}}] }, Open ]], Cell["\<\ Challenge: choose an origin at the point of impact and rewrite eqnLz \ appropriately. Verify that the system of equations gives the same solution as before.\ \>", "Text", CellChangeTimes->{{3.5317399389513197`*^9, 3.5317399413381243`*^9}, { 3.5317401266664495`*^9, 3.5317401745273333`*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"eqnLzB", " ", "=", " ", RowBox[{"0", " ", "\[Equal]", " ", RowBox[{ RowBox[{ RowBox[{"-", " ", "m"}], " ", "v2", " ", "d"}], " ", "+", " ", RowBox[{ RowBox[{"(", RowBox[{"\[Beta]", " ", "m", " ", RowBox[{"L", "^", "2"}]}], ")"}], " ", "\[Omega]"}]}]}]}]], "Input", CellChangeTimes->{{3.531824141341264*^9, 3.531824214111313*^9}}], Cell[BoxData[ RowBox[{"0", "\[Equal]", RowBox[{ RowBox[{ RowBox[{"-", "d"}], " ", "m", " ", "v2"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "m", " ", "\[Beta]", " ", "\[Omega]"}]}]}]], "Output", CellChangeTimes->{3.531824217122118*^9}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"Solve", "[", RowBox[{ RowBox[{"{", RowBox[{"eqnPx", ",", "eqnLzB", ",", "eqnK"}], "}"}], ",", RowBox[{"{", RowBox[{"v1", ",", "v2", ",", "\[Omega]"}], "}"}]}], "]"}]], "Input", CellChangeTimes->{{3.5318242178115454`*^9, 3.5318242907474704`*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"v1", "\[Rule]", "v0"}], ",", RowBox[{"v2", "\[Rule]", "0"}], ",", RowBox[{"\[Omega]", "\[Rule]", "0"}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"v1", "\[Rule]", FractionBox[ RowBox[{"v0", " ", RowBox[{"(", RowBox[{ RowBox[{ SuperscriptBox["d", "2"], " ", "M"}], "-", RowBox[{ SuperscriptBox["L", "2"], " ", "m", " ", "\[Beta]"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "M", " ", "\[Beta]"}]}], ")"}]}], RowBox[{ RowBox[{ SuperscriptBox["d", "2"], " ", "M"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "m", " ", "\[Beta]"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "M", " ", "\[Beta]"}]}]]}], ",", RowBox[{"v2", "\[Rule]", FractionBox[ RowBox[{"2", " ", SuperscriptBox["L", "2"], " ", "M", " ", "v0", " ", "\[Beta]"}], RowBox[{ RowBox[{ SuperscriptBox["d", "2"], " ", "M"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "m", " ", "\[Beta]"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "M", " ", "\[Beta]"}]}]]}], ",", RowBox[{"\[Omega]", "\[Rule]", FractionBox[ RowBox[{"2", " ", "d", " ", "M", " ", "v0"}], RowBox[{ RowBox[{ SuperscriptBox["d", "2"], " ", "M"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "m", " ", "\[Beta]"}], "+", RowBox[{ SuperscriptBox["L", "2"], " ", "M", " ", "\[Beta]"}]}]]}]}], "}"}]}], "}"}]], "Output", CellChangeTimes->{{3.5318242387431235`*^9, 3.531824292151473*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"%", " ", "\[Equal]", " ", "soln818"}]], "Input", CellChangeTimes->{{3.531824293559307*^9, 3.531824299446704*^9}}], Cell[BoxData["True"], "Output", CellChangeTimes->{3.531824300008305*^9}] }, Open ]], Cell[CellGroupData[{ Cell["Morin 8.48", "Subsubsection", CellChangeTimes->{{3.4373900176462*^9, 3.4373900186446*^9}, { 3.437390231884*^9, 3.43739023267*^9}}], Cell["\<\ A coin (m,R) is launched at velocity v0 and with spin \[Omega]0 across a \ surface with coefficient of friction \[Mu]. Animate!\ \>", "Text", CellChangeTimes->{{3.437390257123*^9, 3.437390282166*^9}, { 3.4374168201521*^9, 3.4374168771701*^9}}], Cell["\<\ Obviously the sliding friction force is \[Mu]mg, so we decelerate at \[Mu]g \ and starting from x=0, the CM motion is:\ \>", "Text", CellChangeTimes->{{3.4374169064669*^9, 3.4374169553927*^9}, { 3.437419118917*^9, 3.4374191212414*^9}, {3.4374191636422*^9, 3.4374191739538*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"x1", "[", "t_", "]"}], " ", "=", " ", RowBox[{ RowBox[{"v0", " ", "t"}], " ", "-", " ", RowBox[{ RowBox[{"(", RowBox[{"1", "/", "2"}], ")"}], " ", "\[Mu]", " ", "g", " ", RowBox[{"t", "^", "2"}]}]}]}]], "Input", CellChangeTimes->{{3.4374191237998*^9, 3.4374191427693996`*^9}, { 3.4374191780878*^9, 3.437419192705*^9}}], Cell[BoxData[ RowBox[{ RowBox[{"t", " ", "v0"}], "-", RowBox[{ FractionBox["1", "2"], " ", "g", " ", SuperscriptBox["t", "2"], " ", "\[Mu]"}]}]], "Output", CellChangeTimes->{3.5318243469496093`*^9}] }, Open ]], Cell["\<\ Choosing an origin at the height of the CM, there is a torque \ \>", "Text", CellChangeTimes->{{3.4374192171034*^9, 3.4374193418254004`*^9}, { 3.4374193946314*^9, 3.4374194059726*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"\[Tau]", " ", "=", RowBox[{ RowBox[{"-", "R"}], " ", "\[Mu]", " ", "m", " ", "g"}]}]], "Input"], Cell[BoxData[ RowBox[{ RowBox[{"-", "g"}], " ", "m", " ", "R", " ", "\[Mu]"}]], "Output", CellChangeTimes->{3.5318243492944365`*^9}] }, Open ]], Cell["\<\ and an angular momentum I0 \[Omega] where\ \>", "Text"], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"I0", " ", "=", " ", RowBox[{ RowBox[{"(", RowBox[{"1", "/", "2"}], ")"}], " ", "m", " ", RowBox[{"R", "^", "2"}]}]}]], "Input", CellChangeTimes->{{3.4374173450734997`*^9, 3.4374173525771*^9}}], Cell[BoxData[ FractionBox[ RowBox[{"m", " ", SuperscriptBox["R", "2"]}], "2"]], "Output", CellChangeTimes->{3.5318243540149*^9}] }, Open ]], Cell["which says that", "Text", CellChangeTimes->{{3.4374193464118*^9, 3.4374193490950003`*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"\[Theta]1", "[", "t_", "]"}], " ", "=", " ", RowBox[{ RowBox[{"\[Omega]0", " ", "t"}], " ", "+", " ", RowBox[{ RowBox[{"(", RowBox[{"1", "/", "2"}], ")"}], RowBox[{"(", RowBox[{"\[Tau]", "/", "I0"}], ")"}], " ", RowBox[{"t", "^", "2", " "}]}]}]}]], "Input", CellChangeTimes->{{3.4374193511074*^9, 3.4374193801078*^9}, { 3.4374194217130003`*^9, 3.437419427329*^9}, {3.437419467967*^9, 3.4374194847994003`*^9}}], Cell[BoxData[ RowBox[{ RowBox[{"-", FractionBox[ RowBox[{"g", " ", SuperscriptBox["t", "2"], " ", "\[Mu]"}], "R"]}], "+", RowBox[{"t", " ", "\[Omega]0"}]}]], "Output", CellChangeTimes->{3.5318243558245034`*^9}] }, Open ]], Cell["\<\ This state of affairs continues until the spin rubs off and we roll w/o \ slipping at time T when\ \>", "Text", CellChangeTimes->{{3.4374195280738*^9, 3.437419552285*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"T", " ", "=", " ", RowBox[{"t", "/.", " ", RowBox[{ RowBox[{"Solve", "[", RowBox[{ RowBox[{ RowBox[{ RowBox[{ RowBox[{"x1", "'"}], "[", "t", "]"}], "+", " ", RowBox[{ RowBox[{ RowBox[{"\[Theta]1", "'"}], "[", "t", "]"}], " ", "R"}]}], " ", "\[Equal]", "0"}], ",", "t"}], "]"}], "[", RowBox[{"[", "1", "]"}], "]"}]}]}]], "Input", CellChangeTimes->{{3.4374195549214*^9, 3.4374195686493998`*^9}, { 3.4374196211122*^9, 3.4374196621558*^9}}], Cell[BoxData[ FractionBox[ RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], RowBox[{"3", " ", "g", " ", "\[Mu]"}]]], "Output", CellChangeTimes->{3.5318243606743665`*^9}] }, Open ]], Cell["After that we roll w/o slipping:", "Text", CellChangeTimes->{{3.4374197018266*^9, 3.437419705087*^9}, { 3.4374197413726*^9, 3.4374197483613997`*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"x2", "[", "t_", "]"}], " ", "=", " ", RowBox[{ RowBox[{"x1", "[", "T", "]"}], " ", "+", " ", RowBox[{ RowBox[{ RowBox[{"x1", "'"}], "[", "T", "]"}], " ", RowBox[{"(", RowBox[{"t", "-", "T"}], ")"}]}]}]}]], "Input", CellChangeTimes->{{3.4374197499526*^9, 3.4374197769094*^9}, { 3.4374200924818*^9, 3.4374201063814*^9}}], Cell[BoxData[ RowBox[{ FractionBox[ RowBox[{"v0", " ", RowBox[{"(", RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], ")"}]}], RowBox[{"3", " ", "g", " ", "\[Mu]"}]], "-", FractionBox[ SuperscriptBox[ RowBox[{"(", RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], ")"}], "2"], RowBox[{"18", " ", "g", " ", "\[Mu]"}]], "+", RowBox[{ RowBox[{"(", RowBox[{"v0", "+", RowBox[{ FractionBox["1", "3"], " ", RowBox[{"(", RowBox[{ RowBox[{"-", "v0"}], "-", RowBox[{"R", " ", "\[Omega]0"}]}], ")"}]}]}], ")"}], " ", RowBox[{"(", RowBox[{"t", "-", FractionBox[ RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], RowBox[{"3", " ", "g", " ", "\[Mu]"}]]}], ")"}]}]}]], "Output", CellChangeTimes->{3.5318243680942335`*^9}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"\[Theta]2", "[", "t_", "]"}], " ", "=", " ", RowBox[{ RowBox[{"\[Theta]1", "[", "T", "]"}], " ", "-", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{ RowBox[{"x2", "'"}], "[", "T", "]"}], "/", "R"}], ")"}], RowBox[{"(", " ", RowBox[{"t", "-", "T"}], ")"}]}]}]}]], "Input", CellChangeTimes->{{3.4374197909806004`*^9, 3.4374198305109997`*^9}, { 3.4374201661138*^9, 3.4374201678766003`*^9}}], Cell[BoxData[ RowBox[{ FractionBox[ RowBox[{"\[Omega]0", " ", RowBox[{"(", RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], ")"}]}], RowBox[{"3", " ", "g", " ", "\[Mu]"}]], "-", FractionBox[ SuperscriptBox[ RowBox[{"(", RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], ")"}], "2"], RowBox[{"9", " ", "g", " ", "R", " ", "\[Mu]"}]], "-", FractionBox[ RowBox[{ RowBox[{"(", RowBox[{"v0", "+", RowBox[{ FractionBox["1", "3"], " ", RowBox[{"(", RowBox[{ RowBox[{"-", "v0"}], "-", RowBox[{"R", " ", "\[Omega]0"}]}], ")"}]}]}], ")"}], " ", RowBox[{"(", RowBox[{"t", "-", FractionBox[ RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], RowBox[{"3", " ", "g", " ", "\[Mu]"}]]}], ")"}]}], "R"]}]], "Output", CellChangeTimes->{3.531824373880254*^9}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"p", " ", "=", " ", RowBox[{"{", RowBox[{ RowBox[{"g", "\[Rule]", "1"}], ",", RowBox[{"\[Mu]", "\[Rule]", RowBox[{"1", "/", "8"}]}], ",", RowBox[{"v0", "\[Rule]", "1"}], ",", RowBox[{"\[Omega]0", "\[Rule]", "3"}], ",", RowBox[{"R", "\[Rule]", "1"}], ",", RowBox[{"m", "\[Rule]", "1"}]}], "}"}]}]], "Input", CellChangeTimes->{{3.4374171870923*^9, 3.4374172421135*^9}, { 3.4374173543555*^9, 3.4374173587235003`*^9}, {3.4374175066427*^9, 3.4374175081091003`*^9}, {3.4374191482606*^9, 3.437419150117*^9}, { 3.4374196816558*^9, 3.4374196896118*^9}, {3.4374197241034*^9, 3.4374197242438*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"g", "\[Rule]", "1"}], ",", RowBox[{"\[Mu]", "\[Rule]", FractionBox["1", "8"]}], ",", RowBox[{"v0", "\[Rule]", "1"}], ",", RowBox[{"\[Omega]0", "\[Rule]", "3"}], ",", RowBox[{"R", "\[Rule]", "1"}], ",", RowBox[{"m", "\[Rule]", "1"}]}], "}"}]], "Output", CellChangeTimes->{3.5318243759716616`*^9}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"x2", "[", "T", "]"}], "/.", "p"}]], "Input", CellChangeTimes->{{3.4374200661177998`*^9, 3.4374200755246*^9}}], Cell[BoxData[ FractionBox["32", "9"]], "Output", CellChangeTimes->{3.531824381410321*^9}] }, Open ]], Cell["Putting the pieces together:", "Text", CellChangeTimes->{{3.4374198660322*^9, 3.437419869979*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"xcoin", "[", "t_", "]"}], " ", "=", " ", RowBox[{"Piecewise", "[", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"x1", "[", "t", "]"}], ",", RowBox[{"t", "<=", "T"}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"x2", "[", "t", "]"}], ",", RowBox[{"t", ">", "T"}]}], "}"}]}], "}"}], "]"}]}]], "Input", CellChangeTimes->{{3.4374198713674*^9, 3.4374199216462*^9}, { 3.4374200153086*^9, 3.437420032297*^9}}], Cell[BoxData[ TagBox[GridBox[{ {"\[Piecewise]", GridBox[{ { RowBox[{ RowBox[{"t", " ", "v0"}], "-", RowBox[{ FractionBox["1", "2"], " ", "g", " ", SuperscriptBox["t", "2"], " ", "\[Mu]"}]}], RowBox[{"t", "\[LessEqual]", FractionBox[ RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], RowBox[{"3", " ", "g", " ", "\[Mu]"}]]}]}, { RowBox[{ FractionBox[ RowBox[{"v0", " ", RowBox[{"(", RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], ")"}]}], RowBox[{"3", " ", "g", " ", "\[Mu]"}]], "-", FractionBox[ SuperscriptBox[ RowBox[{"(", RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], ")"}], "2"], RowBox[{"18", " ", "g", " ", "\[Mu]"}]], "+", RowBox[{ RowBox[{"(", RowBox[{"v0", "+", RowBox[{ FractionBox["1", "3"], " ", RowBox[{"(", RowBox[{ RowBox[{"-", "v0"}], "-", RowBox[{"R", " ", "\[Omega]0"}]}], ")"}]}]}], ")"}], " ", RowBox[{"(", RowBox[{"t", "-", FractionBox[ RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], RowBox[{"3", " ", "g", " ", "\[Mu]"}]]}], ")"}]}]}], RowBox[{"t", ">", FractionBox[ RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], RowBox[{"3", " ", "g", " ", "\[Mu]"}]]}]}, {"0", TagBox["True", "PiecewiseDefault", AutoDelete->True]} }, AllowedDimensions->{2, Automatic}, Editable->True, GridBoxAlignment->{ "Columns" -> {{Left}}, "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}}, "RowsIndexed" -> {}}, GridBoxItemSize->{ "Columns" -> {{Automatic}}, "ColumnsIndexed" -> {}, "Rows" -> {{1.}}, "RowsIndexed" -> {}}, GridBoxSpacings->{"Columns" -> { Offset[0.27999999999999997`], { Offset[0.84]}, Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows" -> { Offset[0.2], { Offset[0.4]}, Offset[0.2]}, "RowsIndexed" -> {}}, Selectable->True]} }, GridBoxAlignment->{ "Columns" -> {{Left}}, "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}}, "RowsIndexed" -> {}}, GridBoxItemSize->{ "Columns" -> {{Automatic}}, "ColumnsIndexed" -> {}, "Rows" -> {{1.}}, "RowsIndexed" -> {}}, GridBoxSpacings->{"Columns" -> { Offset[0.27999999999999997`], { Offset[0.35]}, Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows" -> { Offset[0.2], { Offset[0.4]}, Offset[0.2]}, "RowsIndexed" -> {}}], "Piecewise", DeleteWithContents->True, Editable->False, SelectWithContents->True, Selectable->False]], "Output", CellChangeTimes->{3.531824383030978*^9}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"\[Theta]coin", "[", "t_", "]"}], " ", "=", " ", RowBox[{"Piecewise", "[", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"\[Theta]1", "[", "t", "]"}], ",", RowBox[{"t", "<=", "T"}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"\[Theta]2", "[", "t", "]"}], ",", RowBox[{"t", ">", "T"}]}], "}"}]}], "}"}], "]"}]}]], "Input", CellChangeTimes->{{3.4374198713674*^9, 3.4374199216462*^9}, { 3.4374200153086*^9, 3.437420032297*^9}, {3.4374201540394*^9, 3.4374201815578003`*^9}}], Cell[BoxData[ TagBox[GridBox[{ {"\[Piecewise]", GridBox[{ { RowBox[{ RowBox[{"-", FractionBox[ RowBox[{"g", " ", SuperscriptBox["t", "2"], " ", "\[Mu]"}], "R"]}], "+", RowBox[{"t", " ", "\[Omega]0"}]}], RowBox[{"t", "\[LessEqual]", FractionBox[ RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], RowBox[{"3", " ", "g", " ", "\[Mu]"}]]}]}, { RowBox[{ FractionBox[ RowBox[{"\[Omega]0", " ", RowBox[{"(", RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], ")"}]}], RowBox[{"3", " ", "g", " ", "\[Mu]"}]], "-", FractionBox[ SuperscriptBox[ RowBox[{"(", RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], ")"}], "2"], RowBox[{"9", " ", "g", " ", "R", " ", "\[Mu]"}]], "-", FractionBox[ RowBox[{ RowBox[{"(", RowBox[{"v0", "+", RowBox[{ FractionBox["1", "3"], " ", RowBox[{"(", RowBox[{ RowBox[{"-", "v0"}], "-", RowBox[{"R", " ", "\[Omega]0"}]}], ")"}]}]}], ")"}], " ", RowBox[{"(", RowBox[{"t", "-", FractionBox[ RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], RowBox[{"3", " ", "g", " ", "\[Mu]"}]]}], ")"}]}], "R"]}], RowBox[{"t", ">", FractionBox[ RowBox[{"v0", "+", RowBox[{"R", " ", "\[Omega]0"}]}], RowBox[{"3", " ", "g", " ", "\[Mu]"}]]}]}, {"0", TagBox["True", "PiecewiseDefault", AutoDelete->True]} }, AllowedDimensions->{2, Automatic}, Editable->True, GridBoxAlignment->{ "Columns" -> {{Left}}, "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}}, "RowsIndexed" -> {}}, GridBoxItemSize->{ "Columns" -> {{Automatic}}, "ColumnsIndexed" -> {}, "Rows" -> {{1.}}, "RowsIndexed" -> {}}, GridBoxSpacings->{"Columns" -> { Offset[0.27999999999999997`], { Offset[0.84]}, Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows" -> { Offset[0.2], { Offset[0.4]}, Offset[0.2]}, "RowsIndexed" -> {}}, Selectable->True]} }, GridBoxAlignment->{ "Columns" -> {{Left}}, "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}}, "RowsIndexed" -> {}}, GridBoxItemSize->{ "Columns" -> {{Automatic}}, "ColumnsIndexed" -> {}, "Rows" -> {{1.}}, "RowsIndexed" -> {}}, GridBoxSpacings->{"Columns" -> { Offset[0.27999999999999997`], { Offset[0.35]}, Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows" -> { Offset[0.2], { Offset[0.4]}, Offset[0.2]}, "RowsIndexed" -> {}}], "Piecewise", DeleteWithContents->True, Editable->False, SelectWithContents->True, Selectable->False]], "Output", CellChangeTimes->{3.531824387835787*^9}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"\[Theta]coin", "[", "1", "]"}], "/.", "p"}]], "Input", CellChangeTimes->{{3.4374201962061996`*^9, 3.4374202010889997`*^9}}], Cell[BoxData[ FractionBox["23", "8"]], "Output", CellChangeTimes->{3.5318243919836483`*^9}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"Plot", "[", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"\[Theta]coin", "[", "t", "]"}], "/.", "p"}], ")"}], ",", RowBox[{"{", RowBox[{"t", ",", "0", ",", "20"}], "}"}]}], "]"}]], "Input", CellChangeTimes->{{3.4374199265914*^9, 3.4374199402882*^9}, { 3.4374199813006*^9, 3.4374199873845997`*^9}, {3.4374200454634*^9, 3.4374200459625998`*^9}, {3.4374201838042*^9, 3.4374201872362003`*^9}}], Cell[BoxData[ GraphicsBox[{{}, {}, {Hue[0.67, 0.6, 0.6], LineBox[CompressedData[" 1:eJwVz3s4lIkeB3ARWdk2tYqEYWaMGbd5531X2PJ+i8c6qd3E1B46DpNbGdc1 5ykRa0lKVnKwJoQVXUzx0K61yd26jTRRHaIlZ8tlW8mTccmZ88fv+T6ff77f 52cmijwcpK6mphakuv9n4VmRFhEodR72mG1kXax1blMwDhxlnKYddqXJNZ9k 02sdjd8xGOn0NBVuUDJYShc2XTLVZPxAG4VXHNRX1NDiPZLw96Y36NHlR+d3 yltoxXJozl+m9XROZWqIU9sjesPwOGfWtIuWdhk8S7g7Tpd0F0dPmz6j//VG mKud/paW3UkfFttO0UpllXrse3WE0AM/zMTM035sTz6jZiMiJrkTtTIlvUXr g2i3Ug86ZimcMQc1zKcX3l5124bMzT28En8NFBJz7xbNdkA07P1Ao1cLhkx3 brG5CaLbU0SRHB3MMZqGLswxUB2l62Xwt4+xayh3xKbQHCVnwqb4Rzcjos3d 7JcjLCQXr3i+m9HDaMB0gOkoG2qKF/g1bituVE45fbWfA4vY4FPePH3k/+nu Jn1giZcLeUc23t8G3fWi/pMbeNg/eTIhO9oAh1clXoHeVvjyZZaVickOcDOu Xr6eYo2pVlHSb1VGoPKGqskMG9jqDRm7/NMYXBZ/k3qOLXTohYCReRN8Sko7 Lkjs8MWsz3tzIQMJtu1KGZePpy2B63yszXDIwOgV9yIfdefb/BgLZmgyuhn9 apiPYE3JC7ncHF9/H7pBaElgh2nXk+UBc9RUx6Ud4xKQOxj3Ww6aw7WOCD7O I2Avbr+fPGyOLf6ZdKQ1AS2FvtT+lTmEruqiRD6B8mv3hEXrmDj9xeOgbx0I vPx8sTucYkLgYHZC153A8ZgzdboFTES1+vk5B6n6BKN13EImPBOOcAyDCei8 xT23a0y0JTkK51W+G631U9J1JgICm8fKQwmsRF3++V0NE7FFT+9oiAnkRlY0 jPQwsfKctbs0hkCXWNF8e5WJaxcozbBEAnYhVvIDASxYFfD/bpVHYPSEaWRV IAs7fdlX/1Q5Q7x186ZQFn6zzbWszifwOnrZsz+CBe9NM8ZUAYGy+J5Bz3gW HGShcUQhge3ZYc+P5LFARZcvfVRGYO3XWzP+fSysatgYCGQE+rdYb5Q4stF3 LLbTr4WAc3j4a+luNjjnzKKmVJZ1yjpbaDYcp0dOS1oJZMYTKZvd2DgXevZu ehuBA/+1X711mI02O/HNmx0Euuv3vhkPY4NvY3hvtJtAu/9RxaEiNjS7dh5z UxBokCVLrTUsIFNjVeq/JHBmHe9Q73MLMB3/LU3VFkBnJM49opaDz7UXXT2s BZi8bpZTHG+JusdXBioPCpBjabi+XsjF4ZPZ9U+iBcgqCO4MYPDgudqVUnRF AJ+cf8h1/+Bh3mJes6FWgEXXcmVxoxV+Nkwcr3wqwMTkvlMtadYY+8i11HZJ gNI9hFFfgA14rWH3U01IVKVK9EJsbDF0urchFiTShMc9NBZswe40iaoPIPHZ SMmNtD475D1XJPanksjnSqv6PPgQzzXHJFSQSGy6lO9Rz0egfEvzSg+Jg0bC 8m4WgQ97he0Db0jsjej01UsnsFTz8LazHoXinSJW7wIBw1nZm/jPKLBaK3K/ 9BWggNWh73WUQpZNC+9RowCNb+VzZ09RCJ5fP9DFI6F1wYkbf5WCqPotI/17 EndMxlz0GimIk71W9l8mof3JzV0VKku8ap/oXiHhvxZrtecBhfMLksysXBJ6 L3S2nmiiIHNULucVkvimxH68qYWCsnlt6PotErtYmUlRnar9R7qX2jpJNHL3 3O9/SKGgLDz0XBeJ7Tu0q4MGKJTFyl3cVX9G6Sh+XFb53raspR45CcZ0aAZH QWHEZ2uoYpBE8u0c38RBCpwJQ5fxCRJudjNK2/9Q4NfGmfw4SaLI9KfZNpWd UoeVQX+QeP9J8u8+wxQOcArvvp4iUfnX9q5zIxRiwhgmc3MkdGpc8kdHKcTv /lZZM09CVLopI3aMQurH449jF0g0ZD9L1HlBIf9O2cXFRRLibyJD7H+nUJq0 PuSXJRJtx518e1W+5Rm0L36FhLG35leicQq15h3Gzh9ISFwf7ltUuXHeQrm2 RkJOSe0zJyj8D9Tny8Q= "]]}}, AspectRatio->NCache[GoldenRatio^(-1), 0.6180339887498948], Axes->True, AxesOrigin->{0, 0}, PlotRange->{{0, 20}, {0., 20.888888752834468`}}, PlotRangeClipping->True, PlotRangePadding->{ Scaled[0.02], Scaled[0.02]}]], "Output", CellChangeTimes->{3.531824396720566*^9}] }, Open ]], Cell[BoxData[ RowBox[{ RowBox[{"drawcoin", "[", RowBox[{"x_", ",", "\[Theta]_"}], "]"}], ":=", " ", RowBox[{"Show", "[", RowBox[{"{", RowBox[{ RowBox[{"Graphics", "[", RowBox[{"Rectangle", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"-", "1"}], ",", RowBox[{ RowBox[{"-", "1"}], "/", "4"}]}], "}"}], ",", RowBox[{"{", RowBox[{"5", ",", "0"}], "}"}]}], "]"}], "]"}], ",", RowBox[{"Graphics", "[", RowBox[{"Circle", "[", RowBox[{ RowBox[{"{", RowBox[{"x", ",", "1"}], "}"}], ",", "1"}], "]"}], "]"}], ",", RowBox[{"Graphics", "[", RowBox[{"Line", "[", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"x", ",", "1"}], "}"}], ",", RowBox[{"(", RowBox[{ RowBox[{"{", RowBox[{"x", ",", "1"}], "}"}], "+", RowBox[{"{", RowBox[{ RowBox[{"Cos", "[", "\[Theta]", "]"}], ",", RowBox[{"Sin", "[", "\[Theta]", "]"}]}], "}"}]}], ")"}]}], "}"}], "]"}], "]"}]}], "}"}], "]"}]}]], "Input", CellChangeTimes->{{3.4373544827707*^9, 3.4373544948919*^9}, { 3.4373545369962997`*^9, 3.4373545379479*^9}, {3.4373545822987003`*^9, 3.4373546023290997`*^9}, {3.4373546524674997`*^9, 3.4373548555483*^9}, { 3.4373554546039*^9, 3.4373554598143*^9}, {3.4373555124330997`*^9, 3.4373556171871*^9}, {3.4373556504151*^9, 3.4373556803515*^9}, 3.4373957806486397`*^9, {3.4374170338535*^9, 3.4374171212602997`*^9}, { 3.4374175293563004`*^9, 3.4374175544411*^9}, {3.437420226829*^9, 3.4374202281082*^9}, 3.4374202889482*^9}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"Animate", "[", RowBox[{ RowBox[{"drawcoin", "[", RowBox[{ RowBox[{ RowBox[{"xcoin", "[", "t", "]"}], "/.", "p"}], ",", RowBox[{ RowBox[{"\[Theta]coin", "[", "t", "]"}], "/.", "p"}]}], "]"}], ",", RowBox[{"{", RowBox[{"t", ",", "0", ",", RowBox[{ RowBox[{"2", "T"}], "/.", "p"}]}], "}"}]}], "]"}]], "Input", CellChangeTimes->{{3.4374202246138*^9, 3.4374202798222*^9}}], Cell[BoxData[ TagBox[ StyleBox[ DynamicModuleBox[{$CellContext`t$$ = 8.56768693033856, Typeset`show$$ = True, Typeset`bookmarkList$$ = {}, Typeset`bookmarkMode$$ = "Menu", Typeset`animator$$, Typeset`animvar$$ = 1, Typeset`name$$ = "\"untitled\"", Typeset`specs$$ = {{ Hold[$CellContext`t$$], 0, Rational[64, 3]}}, Typeset`size$$ = {540., {103., 113.}}, Typeset`update$$ = 0, Typeset`initDone$$, Typeset`skipInitDone$$ = True, $CellContext`t$2970$$ = 0}, DynamicBox[Manipulate`ManipulateBoxes[ 1, StandardForm, "Variables" :> {$CellContext`t$$ = 0}, "ControllerVariables" :> { Hold[$CellContext`t$$, $CellContext`t$2970$$, 0]}, "OtherVariables" :> { Typeset`show$$, Typeset`bookmarkList$$, Typeset`bookmarkMode$$, Typeset`animator$$, Typeset`animvar$$, Typeset`name$$, Typeset`specs$$, Typeset`size$$, Typeset`update$$, Typeset`initDone$$, Typeset`skipInitDone$$}, "Body" :> $CellContext`drawcoin[ ReplaceAll[ $CellContext`xcoin[$CellContext`t$$], $CellContext`p], ReplaceAll[ $CellContext`\[Theta]coin[$CellContext`t$$], $CellContext`p]], "Specifications" :> {{$CellContext`t$$, 0, Rational[64, 3], AppearanceElements -> { "ProgressSlider", "PlayPauseButton", "FasterSlowerButtons", "DirectionButton"}}}, "Options" :> { ControlType -> Animator, AppearanceElements -> None, DefaultBaseStyle -> "Animate", DefaultLabelStyle -> "AnimateLabel", SynchronousUpdating -> True, ShrinkingDelay -> 10.}, "DefaultOptions" :> {}], ImageSizeCache->{610., {160., 167.}}, SingleEvaluation->True], Deinitialization:>None, DynamicModuleValues:>{}, SynchronousInitialization->True, UnsavedVariables:>{Typeset`initDone$$}, UntrackedVariables:>{Typeset`size$$}], "Animate", Deployed->True, StripOnInput->False], Manipulate`InterpretManipulate[1]]], "Output", CellChangeTimes->{3.5318244104274983`*^9}] }, Open ]] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["Morin 8.52 -- Cylinder, board and spring", "Subsection", CellChangeTimes->{{3.4373474558513002`*^9, 3.4373474713577003`*^9}}], Cell["\<\ In this one a cylinder of mass m and radius R sits atop a board of mass m. A \ spring is attached to the board. We want the equations of motion, and are asked in particular for \"the \ frequency of the resulting oscillatory motion\".\ \>", "Text", CellChangeTimes->{{3.4373503131883*^9, 3.4373503164175*^9}, { 3.4373523626539*^9, 3.4373524853791*^9}}], Cell["\<\ If we call the board coordinate x and the cylinder coordinate y (even though \ they are both displacements in the x-direction), the equations of motion are:\ \>", "Text", CellChangeTimes->{{3.4373524903243*^9, 3.4373525038183002`*^9}, { 3.4373525994775*^9, 3.4373526142974997`*^9}, {3.4373528157403*^9, 3.4373528849263*^9}, {3.4373530115515003`*^9, 3.4373530449979*^9}, { 3.4373534900502996`*^9, 3.4373535316710997`*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"eq1", " ", "=", " ", RowBox[{ RowBox[{"m", " ", RowBox[{ RowBox[{"x", "''"}], "[", "t", "]"}]}], " ", "\[Equal]", " ", RowBox[{ RowBox[{ RowBox[{"-", " ", "k"}], " ", RowBox[{"x", "[", "t", "]"}]}], "-", " ", RowBox[{"f", "[", "t", "]"}]}]}]}]], "Input", CellChangeTimes->{{3.4373526195235*^9, 3.4373526238915*^9}, { 3.4373528868919*^9, 3.4373529012439003`*^9}, 3.4373532538351*^9, { 3.4373534800195*^9, 3.4373534836542997`*^9}, {3.4373535392059*^9, 3.4373535495331*^9}, {3.4373537065003*^9, 3.4373537066407003`*^9}}], Cell[BoxData[ RowBox[{ RowBox[{"m", " ", RowBox[{ SuperscriptBox["x", "\[Prime]\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "\[Equal]", RowBox[{ RowBox[{"-", RowBox[{"f", "[", "t", "]"}]}], "-", RowBox[{"k", " ", RowBox[{"x", "[", "t", "]"}]}]}]}]], "Output", CellChangeTimes->{3.531824442129592*^9}] }, Open ]], Cell["\<\ Where f[t] is the friction force between the cylinder and the board\ \>", "Text", CellChangeTimes->{{3.4373535563815002`*^9, 3.4373535807174997`*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"eq2", " ", "=", " ", RowBox[{ RowBox[{"m", " ", RowBox[{ RowBox[{"y", "''"}], "[", "t", "]"}]}], " ", "\[Equal]", " ", RowBox[{"f", "[", "t", "]"}]}]}]], "Input", CellChangeTimes->{{3.4373529045043*^9, 3.4373529095275*^9}, { 3.4373535881743*^9, 3.4373535923395*^9}, {3.4373538378991003`*^9, 3.4373538380395*^9}}], Cell[BoxData[ RowBox[{ RowBox[{"m", " ", RowBox[{ SuperscriptBox["y", "\[Prime]\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "\[Equal]", RowBox[{"f", "[", "t", "]"}]}]], "Output", CellChangeTimes->{3.531824444079595*^9}] }, Open ]], Cell["\<\ Choosing e.g. an origin on the board, there is no torque whatsoever, so \ angular momentum is conserved:\ \>", "Text", CellChangeTimes->{{3.4373529155647*^9, 3.4373530044691*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"eq3", " ", "=", " ", RowBox[{"0", " ", "\[Equal]", " ", RowBox[{ RowBox[{ RowBox[{"-", RowBox[{"(", RowBox[{"1", "/", "2"}], ")"}]}], " ", "m", " ", RowBox[{"R", "^", "2"}], " ", RowBox[{ RowBox[{"\[Theta]", "''"}], "[", "t", "]"}]}], " ", "-", " ", RowBox[{"R", " ", "m", " ", RowBox[{ RowBox[{"y", "''"}], "[", "t", "]"}]}]}]}]}]], "Input", CellChangeTimes->{{3.4373530515343*^9, 3.4373531497207003`*^9}, { 3.4373535994063*^9, 3.4373536145071*^9}, {3.4373537136607*^9, 3.4373537193079*^9}}], Cell[BoxData[ RowBox[{"0", "\[Equal]", RowBox[{ RowBox[{ RowBox[{"-", "m"}], " ", "R", " ", RowBox[{ SuperscriptBox["y", "\[Prime]\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "-", RowBox[{ FractionBox["1", "2"], " ", "m", " ", SuperscriptBox["R", "2"], " ", RowBox[{ SuperscriptBox["\[Theta]", "\[Prime]\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}]}]], "Output", CellChangeTimes->{3.531824445633658*^9}] }, Open ]], Cell["\<\ And there is a constraint: the distance \[OpenCurlyDoubleQuote]rolled\ \[CloseCurlyDoubleQuote] must match up with the relative displacement. Taking derivatives to make it a relation between accelerations:\ \>", "Text", CellChangeTimes->{{3.4373531704063*^9, 3.4373531758039*^9}, { 3.5314828266073794`*^9, 3.531482876705245*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"eq4", " ", "=", " ", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{ RowBox[{"y", "''"}], "[", "t", "]"}], " ", "-", " ", RowBox[{ RowBox[{"x", "''"}], "[", "t", "]"}]}], ")"}], " ", "\[Equal]", " ", RowBox[{ RowBox[{ RowBox[{"\[Theta]", "''"}], "[", "t", "]"}], " ", "R"}]}]}]], "Input", CellChangeTimes->{{3.4373531812015*^9, 3.4373531956159*^9}, { 3.4373536187658997`*^9, 3.4373536318543*^9}}], Cell[BoxData[ RowBox[{ RowBox[{ RowBox[{"-", RowBox[{ SuperscriptBox["x", "\[Prime]\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "+", RowBox[{ SuperscriptBox["y", "\[Prime]\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "\[Equal]", RowBox[{"R", " ", RowBox[{ SuperscriptBox["\[Theta]", "\[Prime]\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}]], "Output", CellChangeTimes->{3.5318244513754168`*^9}] }, Open ]], Cell["\<\ These equations we can Solve algebraically and then read off the frequency of \ oscillation:\ \>", "Text", CellChangeTimes->{{3.4373538576643*^9, 3.4373538695671*^9}, { 3.4373541358747*^9, 3.4373541430507*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"Solve", "[", RowBox[{ RowBox[{"{", RowBox[{"eq1", ",", "eq2", ",", "eq3", ",", "eq4"}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{ RowBox[{"x", "''"}], "[", "t", "]"}], ",", RowBox[{ RowBox[{"y", "''"}], "[", "t", "]"}], ",", RowBox[{ RowBox[{"\[Theta]", "''"}], "[", "t", "]"}], ",", RowBox[{"f", "[", "t", "]"}]}], "}"}]}], "]"}]], "Input", CellChangeTimes->{{3.4373532032131*^9, 3.4373532167695*^9}, { 3.4373536353019*^9, 3.4373536567831*^9}, {3.4373537745631*^9, 3.4373537933767*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{"{", RowBox[{ RowBox[{ RowBox[{ SuperscriptBox["x", "\[Prime]\[Prime]", MultilineFunction->None], "[", "t", "]"}], "\[Rule]", RowBox[{"-", FractionBox[ RowBox[{"3", " ", "k", " ", RowBox[{"x", "[", "t", "]"}]}], RowBox[{"4", " ", "m"}]]}]}], ",", RowBox[{ RowBox[{ SuperscriptBox["y", "\[Prime]\[Prime]", MultilineFunction->None], "[", "t", "]"}], "\[Rule]", RowBox[{"-", FractionBox[ RowBox[{"k", " ", RowBox[{"x", "[", "t", "]"}]}], RowBox[{"4", " ", "m"}]]}]}], ",", RowBox[{ RowBox[{ SuperscriptBox["\[Theta]", "\[Prime]\[Prime]", MultilineFunction->None], "[", "t", "]"}], "\[Rule]", FractionBox[ RowBox[{"k", " ", RowBox[{"x", "[", "t", "]"}]}], RowBox[{"2", " ", "m", " ", "R"}]]}], ",", RowBox[{ RowBox[{"f", "[", "t", "]"}], "\[Rule]", RowBox[{ RowBox[{"-", FractionBox["1", "4"]}], " ", "k", " ", RowBox[{"x", "[", "t", "]"}]}]}]}], "}"}], "}"}]], "Output", CellChangeTimes->{3.531824454245076*^9}] }, Open ]], Cell[CellGroupData[{ Cell["Your task:", "Subsubsection", CellChangeTimes->{{3.4688436609133*^9, 3.4688436673873*^9}}], Cell["\<\ Try changing the origin to a point which coincides with the center of the \ cylinder and rewrite eq3 to reflect the appropriate torque and angular \ momentum. Note that with that origin the only torque comes from friction at the ground, \ and that the \"orbital\" (center of mass RxP) term in L vanishes automatically. Verify that the solution to the modified system of equation coincides with \ the solution we just got.\ \>", "Text", CellChangeTimes->{{3.4688436739081*^9, 3.4688437204741*^9}, { 3.4688437513620996`*^9, 3.4688438972065*^9}, 3.531824463450347*^9}], Cell[TextData[{ "And for the full experience, let's choose numerical parameters as we DSolve \ for the motion, and animate.\nIf you take off the FullSimplify below, you can \ see ", StyleBox["Mathematica", FontSlant->"Italic"], "'s more complicated intermediate expressions.\nBe prepared to be impressed \ (or disgusted)." }], "Text", CellChangeTimes->{{3.4373541605695*^9, 3.4373541786654997`*^9}, { 3.4373557765723*^9, 3.4373557790683002`*^9}, {3.437390298021*^9, 3.4373903650699997`*^9}, {3.4688439034621*^9, 3.4688439161449003`*^9}, { 3.531738876513053*^9, 3.531738878260256*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"motion", "=", RowBox[{"FullSimplify", "[", " ", RowBox[{ RowBox[{"DSolve", "[", RowBox[{ RowBox[{ RowBox[{"{", RowBox[{"eq1", ",", "eq2", ",", "eq3", ",", "eq4", ",", RowBox[{ RowBox[{"x", "[", "0", "]"}], "\[Equal]", "x0"}], ",", RowBox[{ RowBox[{"y", "[", "0", "]"}], "\[Equal]", "x0"}], ",", RowBox[{ RowBox[{ RowBox[{"x", "'"}], "[", "0", "]"}], "\[Equal]", "0"}], ",", RowBox[{ RowBox[{ RowBox[{"y", "'"}], "[", "0", "]"}], "\[Equal]", "0"}], ",", RowBox[{ RowBox[{ RowBox[{"\[Theta]", "'"}], "[", "0", "]"}], "\[Equal]", "0"}], ",", RowBox[{ RowBox[{"\[Theta]", "[", "0", "]"}], "\[Equal]", "0"}]}], "}"}], "/.", RowBox[{"{", RowBox[{ RowBox[{"m", "\[Rule]", "1"}], ",", RowBox[{"k", "\[Rule]", "1"}], ",", RowBox[{"x0", "\[Rule]", "1"}], ",", RowBox[{"R", "\[Rule]", "1"}]}], "}"}]}], ",", RowBox[{"{", RowBox[{ RowBox[{"x", "[", "t", "]"}], ",", RowBox[{"y", "[", "t", "]"}], ",", RowBox[{"\[Theta]", "[", "t", "]"}], ",", RowBox[{"f", "[", "t", "]"}]}], "}"}], ",", "t"}], "]"}], "[", RowBox[{"[", "1", "]"}], "]"}], "]"}]}]], "Input", CellChangeTimes->{{3.4373532032131*^9, 3.4373532167695*^9}, { 3.4373536353019*^9, 3.4373536567831*^9}, {3.4373539441195*^9, 3.4373539542595*^9}, {3.4373539919646997`*^9, 3.4373540241007*^9}, { 3.4373541208363*^9, 3.4373541228019*^9}, {3.4373541533311*^9, 3.4373541572467003`*^9}, {3.4373541879786997`*^9, 3.4373542019095*^9}, { 3.4373542356991*^9, 3.4373542718131*^9}, {3.4373548871383*^9, 3.4373548900087*^9}, {3.4373551864243*^9, 3.4373552071254997`*^9}, { 3.4373552429743*^9, 3.4373552469210997`*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{ RowBox[{"f", "[", "t", "]"}], "\[Rule]", RowBox[{ RowBox[{"-", FractionBox["1", "4"]}], " ", RowBox[{"Cos", "[", FractionBox[ RowBox[{ SqrtBox["3"], " ", "t"}], "2"], "]"}]}]}], ",", RowBox[{ RowBox[{"x", "[", "t", "]"}], "\[Rule]", RowBox[{"Cos", "[", FractionBox[ RowBox[{ SqrtBox["3"], " ", "t"}], "2"], "]"}]}], ",", RowBox[{ RowBox[{"y", "[", "t", "]"}], "\[Rule]", RowBox[{ FractionBox["1", "3"], " ", RowBox[{"(", RowBox[{"2", "+", RowBox[{"Cos", "[", FractionBox[ RowBox[{ SqrtBox["3"], " ", "t"}], "2"], "]"}]}], ")"}]}]}], ",", RowBox[{ RowBox[{"\[Theta]", "[", "t", "]"}], "\[Rule]", RowBox[{ FractionBox["4", "3"], " ", SuperscriptBox[ RowBox[{"Sin", "[", FractionBox[ RowBox[{ SqrtBox["3"], " ", "t"}], "4"], "]"}], "2"]}]}]}], "}"}]], "Output", CellChangeTimes->{3.531824473597638*^9}] }, Open ]], Cell["\<\ Here is a function which makes a drawing of the rectangle, circle and spring, \ given the coordinates.\ \>", "Text", CellChangeTimes->{{3.437390372625*^9, 3.4373904392609997`*^9}}], Cell[BoxData[ RowBox[{ RowBox[{"drawstate", "[", RowBox[{"x_", ",", "y_", ",", "\[Theta]_"}], "]"}], ":=", " ", RowBox[{"Show", "[", RowBox[{"{", RowBox[{ RowBox[{"ParametricPlot", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{ RowBox[{"(", RowBox[{"x", "+", RowBox[{"3", "/", "2"}]}], ")"}], "+", RowBox[{"t", "*", RowBox[{"(", RowBox[{"4", "-", RowBox[{"(", RowBox[{"x", "+", RowBox[{"3", "/", "2"}]}], ")"}]}], ")"}]}]}], ",", RowBox[{ RowBox[{"(", RowBox[{"1", "/", "4"}], ")"}], RowBox[{"Sin", "[", RowBox[{"2", " ", "Pi", " ", "6", " ", "t"}], "]"}]}]}], "}"}], ",", RowBox[{"{", RowBox[{"t", ",", "0", ",", "1"}], "}"}], ",", RowBox[{"Axes", "\[Rule]", "False"}], ",", RowBox[{"PlotStyle", "\[Rule]", "Red"}], ",", RowBox[{"PlotRange", "\[Rule]", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"-", "2"}], ",", "4"}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"-", "1"}], ",", "3"}], "}"}]}], "}"}]}]}], "]"}], ",", RowBox[{"Graphics", "[", RowBox[{"Rectangle", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"x", "-", RowBox[{"3", "/", "2"}]}], ",", RowBox[{ RowBox[{"-", "1"}], "/", "4"}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"x", "+", RowBox[{"3", "/", "2"}]}], ",", RowBox[{"1", "/", "4"}]}], "}"}]}], "]"}], "]"}], ",", RowBox[{"Graphics", "[", RowBox[{"Circle", "[", RowBox[{ RowBox[{"{", RowBox[{"y", ",", RowBox[{"5", "/", "4"}]}], "}"}], ",", "1"}], "]"}], "]"}], ",", RowBox[{"Graphics", "[", RowBox[{"Line", "[", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"y", ",", RowBox[{"5", "/", "4"}]}], "}"}], ",", RowBox[{"(", RowBox[{ RowBox[{"{", RowBox[{"y", ",", RowBox[{"5", "/", "4"}]}], "}"}], "+", RowBox[{"{", RowBox[{ RowBox[{"Cos", "[", "\[Theta]", "]"}], ",", RowBox[{"-", RowBox[{"Sin", "[", "\[Theta]", "]"}]}]}], "}"}]}], ")"}]}], "}"}], "]"}], "]"}]}], "}"}], "]"}]}]], "Input", CellChangeTimes->{{3.4373544827707*^9, 3.4373544948919*^9}, { 3.4373545369962997`*^9, 3.4373545379479*^9}, {3.4373545822987003`*^9, 3.4373546023290997`*^9}, {3.4373546524674997`*^9, 3.4373548555483*^9}, { 3.4373554546039*^9, 3.4373554598143*^9}, {3.4373555124330997`*^9, 3.4373556171871*^9}, {3.4373556504151*^9, 3.4373556803515*^9}, 3.4687588953279*^9, {3.531483040706625*^9, 3.5314830408666344`*^9}, { 3.5314830954757576`*^9, 3.5314830956347666`*^9}, {3.531483126128511*^9, 3.531483128473645*^9}, {3.531483190366185*^9, 3.5314832099323044`*^9}}], Cell["\<\ This funny incantion avoids problems with using the solution rule inside a \ loop over t.\ \>", "Text", CellChangeTimes->{{3.4373900404533997`*^9, 3.4373900806702003`*^9}}], Cell[BoxData[ RowBox[{ RowBox[{"draw", "[", "q_", "]"}], " ", ":=", " ", RowBox[{"drawstate", "[", RowBox[{ RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"x", "[", "t", "]"}], "/.", "motion"}], ")"}], "/.", RowBox[{"{", RowBox[{"t", "\[Rule]", "q"}], "}"}]}], ",", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"y", "[", "t", "]"}], "/.", "motion"}], ")"}], "/.", RowBox[{"{", RowBox[{"t", "\[Rule]", "q"}], "}"}]}], ",", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"\[Theta]", "[", "t", "]"}], "/.", "motion"}], ")"}], "/.", RowBox[{"{", RowBox[{"t", "\[Rule]", "q"}], "}"}]}]}], "]"}]}]], "Input", CellChangeTimes->{{3.4373552801179*^9, 3.4373553136267*^9}, { 3.4373553445615*^9, 3.4373553889123*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"Animate", "[", RowBox[{ RowBox[{"draw", "[", "t", "]"}], ",", RowBox[{"{", RowBox[{"t", ",", "0", ",", "20"}], "}"}]}], "]"}]], "Input", CellChangeTimes->{{3.4373546740111*^9, 3.4373546769283*^9}, { 3.4373548670611*^9, 3.4373549219730997`*^9}, {3.4373554152451*^9, 3.4373554335751*^9}, {3.4373557133299*^9, 3.4373557191955*^9}}], Cell[BoxData[ TagBox[ StyleBox[ DynamicModuleBox[{$CellContext`t$$ = 19.386983782959028`, Typeset`show$$ = True, Typeset`bookmarkList$$ = {}, Typeset`bookmarkMode$$ = "Menu", Typeset`animator$$, Typeset`animvar$$ = 1, Typeset`name$$ = "\"untitled\"", Typeset`specs$$ = {{ Hold[$CellContext`t$$], 0, 20}}, Typeset`size$$ = {540., {175., 185.}}, Typeset`update$$ = 0, Typeset`initDone$$, Typeset`skipInitDone$$ = True, $CellContext`t$3389$$ = 0}, DynamicBox[Manipulate`ManipulateBoxes[ 1, StandardForm, "Variables" :> {$CellContext`t$$ = 0}, "ControllerVariables" :> { Hold[$CellContext`t$$, $CellContext`t$3389$$, 0]}, "OtherVariables" :> { Typeset`show$$, Typeset`bookmarkList$$, Typeset`bookmarkMode$$, Typeset`animator$$, Typeset`animvar$$, Typeset`name$$, Typeset`specs$$, Typeset`size$$, Typeset`update$$, Typeset`initDone$$, Typeset`skipInitDone$$}, "Body" :> $CellContext`draw[$CellContext`t$$], "Specifications" :> {{$CellContext`t$$, 0, 20, AppearanceElements -> { "ProgressSlider", "PlayPauseButton", "FasterSlowerButtons", "DirectionButton"}}}, "Options" :> { ControlType -> Animator, AppearanceElements -> None, DefaultBaseStyle -> "Animate", DefaultLabelStyle -> "AnimateLabel", SynchronousUpdating -> True, ShrinkingDelay -> 10.}, "DefaultOptions" :> {}], ImageSizeCache->{610., {232., 239.}}, SingleEvaluation->True], Deinitialization:>None, DynamicModuleValues:>{}, SynchronousInitialization->True, UnsavedVariables:>{Typeset`initDone$$}, UntrackedVariables:>{Typeset`size$$}], "Animate", Deployed->True, StripOnInput->False], Manipulate`InterpretManipulate[1]]], "Output", CellChangeTimes->{3.5318244859627137`*^9}] }, Open ]] }, Open ]] }, Open ]] }, Open ]] }, WindowSize->{1009, 647}, WindowMargins->{{1494, Automatic}, {413, Automatic}}, ShowSelection->True, Magnification:>FEPrivate`If[ FEPrivate`Equal[FEPrivate`$VersionNumber, 6.], 1.5, 1.5 Inherited], FrontEndVersion->"8.0 for Microsoft Windows (32-bit) (February 23, 2011)", StyleDefinitions->"Default.nb" ] (* End of Notebook Content *) (* Internal cache information *) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[567, 22, 292, 4, 105, "Section"], Cell[862, 28, 486, 9, 90, "Text"], Cell[CellGroupData[{ Cell[1373, 41, 138, 2, 54, "Subsection"], Cell[1514, 45, 401, 9, 90, "Text"], Cell[CellGroupData[{ Cell[1940, 58, 493, 14, 43, "Input"], Cell[2436, 74, 145, 3, 45, "Output"] }, Open ]], Cell[2596, 80, 455, 8, 90, "Text"], Cell[3054, 90, 949, 27, 71, "Input"], Cell[4006, 119, 264, 6, 66, "Text"], Cell[4273, 127, 801, 25, 71, "Input"], Cell[5077, 154, 346, 6, 66, "Text"], Cell[CellGroupData[{ Cell[5448, 164, 257, 5, 38, "Subsubsection"], Cell[5708, 171, 316, 6, 99, "Text"], Cell[6027, 179, 1096, 33, 106, "Input"] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[7172, 218, 113, 1, 54, "Subsection"], Cell[7288, 221, 370, 7, 66, "Text"], Cell[7661, 230, 297, 9, 43, "Input"], Cell[7961, 241, 252, 5, 66, "Text"] }, Open ]], Cell[CellGroupData[{ Cell[8250, 251, 234, 5, 54, "Subsection"], Cell[8487, 258, 620, 12, 139, "Text"], Cell[9110, 272, 154, 3, 41, "Text"], Cell[CellGroupData[{ Cell[9289, 279, 382, 9, 43, "Input"], Cell[9674, 290, 198, 6, 42, "Output"] }, Open ]], Cell[9887, 299, 158, 3, 41, "Text"], Cell[CellGroupData[{ Cell[10070, 306, 509, 12, 43, "Input"], Cell[10582, 320, 279, 8, 45, "Output"] }, Open ]], Cell[10876, 331, 135, 3, 41, "Text"], Cell[CellGroupData[{ Cell[11036, 338, 885, 25, 43, "Input"], Cell[11924, 365, 498, 16, 67, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[12459, 386, 380, 9, 43, "Input"], Cell[12842, 397, 1738, 50, 114, "Output"] }, Open ]], Cell[14595, 450, 577, 11, 115, "Text"], Cell[CellGroupData[{ Cell[15197, 465, 397, 10, 43, "Input"], Cell[15597, 477, 535, 16, 71, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[16169, 498, 403, 10, 43, "Input"], Cell[16575, 510, 200, 5, 62, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[16812, 520, 457, 11, 43, "Input"], Cell[17272, 533, 222, 5, 42, "Output"] }, Open ]], Cell[17509, 541, 303, 6, 66, "Text"], Cell[CellGroupData[{ Cell[17837, 551, 395, 10, 43, "Input"], Cell[18235, 563, 265, 8, 45, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[18537, 576, 290, 7, 43, "Input"], Cell[18830, 585, 1764, 50, 114, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[20631, 640, 138, 2, 43, "Input"], Cell[20772, 644, 73, 1, 42, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[20882, 650, 139, 2, 38, "Subsubsection"], Cell[21024, 654, 256, 6, 66, "Text"], Cell[21283, 662, 293, 6, 41, "Text"], Cell[CellGroupData[{ Cell[21601, 672, 382, 10, 43, "Input"], Cell[21986, 684, 212, 6, 62, "Output"] }, Open ]], Cell[22213, 693, 199, 4, 41, "Text"], Cell[CellGroupData[{ Cell[22437, 701, 125, 3, 43, "Input"], Cell[22565, 706, 136, 3, 42, "Output"] }, Open ]], Cell[22716, 712, 65, 2, 41, "Text"], Cell[CellGroupData[{ Cell[22806, 718, 232, 6, 43, "Input"], Cell[23041, 726, 136, 4, 67, "Output"] }, Open ]], Cell[23192, 733, 97, 1, 41, "Text"], Cell[CellGroupData[{ Cell[23314, 738, 486, 13, 43, "Input"], Cell[23803, 753, 231, 7, 67, "Output"] }, Open ]], Cell[24049, 763, 182, 4, 41, "Text"], Cell[CellGroupData[{ Cell[24256, 771, 551, 16, 43, "Input"], Cell[24810, 789, 185, 5, 65, "Output"] }, Open ]], Cell[25010, 797, 158, 2, 41, "Text"], Cell[CellGroupData[{ Cell[25193, 803, 386, 11, 43, "Input"], Cell[25582, 816, 866, 29, 70, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[26485, 850, 462, 13, 43, "Input"], Cell[26950, 865, 916, 30, 84, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[27903, 900, 662, 15, 43, "Input"], Cell[28568, 917, 373, 10, 62, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[28978, 932, 145, 3, 43, "Input"], Cell[29126, 937, 91, 2, 62, "Output"] }, Open ]], Cell[29232, 942, 105, 1, 41, "Text"], Cell[CellGroupData[{ Cell[29362, 947, 514, 15, 43, "Input"], Cell[29879, 964, 3048, 88, 121, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[32964, 1057, 584, 16, 43, "Input"], Cell[33551, 1075, 3133, 90, 137, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[36721, 1170, 159, 3, 43, "Input"], Cell[36883, 1175, 93, 2, 62, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[37013, 1182, 438, 10, 43, "Input"], Cell[37454, 1194, 2545, 48, 366, "Output"] }, Open ]], Cell[40014, 1245, 1708, 44, 98, "Input"], Cell[CellGroupData[{ Cell[41747, 1293, 447, 13, 43, "Input"], Cell[42197, 1308, 2047, 43, 351, "Output"] }, Open ]] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[44305, 1358, 132, 1, 54, "Subsection"], Cell[44440, 1361, 365, 7, 66, "Text"], Cell[44808, 1370, 439, 8, 90, "Text"], Cell[CellGroupData[{ Cell[45272, 1382, 592, 14, 43, "Input"], Cell[45867, 1398, 348, 11, 42, "Output"] }, Open ]], Cell[46230, 1412, 161, 3, 41, "Text"], Cell[CellGroupData[{ Cell[46416, 1419, 362, 9, 43, "Input"], Cell[46781, 1430, 250, 7, 42, "Output"] }, Open ]], Cell[47046, 1440, 190, 4, 41, "Text"], Cell[CellGroupData[{ Cell[47261, 1448, 589, 16, 43, "Input"], Cell[47853, 1466, 482, 14, 62, "Output"] }, Open ]], Cell[48350, 1483, 342, 6, 66, "Text"], Cell[CellGroupData[{ Cell[48717, 1493, 463, 13, 43, "Input"], Cell[49183, 1508, 476, 14, 42, "Output"] }, Open ]], Cell[49674, 1525, 223, 5, 41, "Text"], Cell[CellGroupData[{ Cell[49922, 1534, 579, 16, 43, "Input"], Cell[50504, 1552, 1158, 36, 63, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[51699, 1593, 97, 1, 38, "Subsubsection"], Cell[51799, 1596, 579, 10, 139, "Text"], Cell[52381, 1608, 597, 12, 90, "Text"], Cell[CellGroupData[{ Cell[53003, 1624, 1894, 44, 152, "Input"], Cell[54900, 1670, 1055, 37, 134, "Output"] }, Open ]], Cell[55970, 1710, 191, 4, 41, "Text"], Cell[56164, 1716, 3131, 85, 179, "Input"], Cell[59298, 1803, 183, 4, 41, "Text"], Cell[59484, 1809, 807, 24, 71, "Input"], Cell[CellGroupData[{ Cell[60316, 1837, 373, 8, 43, "Input"], Cell[60692, 1847, 1851, 38, 495, "Output"] }, Open ]] }, Open ]] }, Open ]] }, Open ]] } ] *) (* End of internal cache information *)