(************** Content-type: application/mathematica ************** CreatedBy='Mathematica 5.1' Mathematica-Compatible Notebook This notebook can be used with any Mathematica-compatible application, such as Mathematica, MathReader or Publicon. The data for the notebook starts with the line containing stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info@wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. *******************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 22277, 581]*) (*NotebookOutlinePosition[ 22921, 603]*) (* CellTagsIndexPosition[ 22877, 599]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell["\<\ Comparing Impact Equations for Conservation of Angular Momentum to Perfectly \ Plastic Impacts: Application to a 2-D Point-footed Walker.\ \>", "Title"], Cell["\<\ Robert D. Gregg rdgregg@eecs.berkeley.edu Aaron D. Ames adames@eecs.berkeley.edu Center for Hybrid and Embedded Software Systems Electrical Engineering and Computer Sciences University of California, Berkeley\ \>", "Subsubtitle"], Cell[CellGroupData[{ Cell["Conservation of Angular Momentum", "Section"], Cell[CellGroupData[{ Cell["From Goswami et al:", "Subsection"], Cell[CellGroupData[{ Cell[BoxData[{ \(\(Qbefore\ = \ {{\(-m\)\ a\ b, \ \(-m\)\ a\ b + \((M\ L^2 + 2\ m\ a\ L)\)\ Cos[\[Theta]ns[t] - \[Theta]s[ t]]}, {0, \(-\ m\)\ a\ b}};\)\), "\[IndentingNewLine]", \(\(Qafter\ = \ \ {{m\ b\ \((b - L\ Cos[\[Theta]ns[t] - \[Theta]s[t]])\), \ m\ L \((L - b\ Cos[\[Theta]ns[t] - \[Theta]s[t]])\) + \ m\ a^2\ + \ M\ L^2}, {m\ b^2, \ \(-m\)\ b\ L\ Cos[\[Theta]ns[t] - \[Theta]s[ t]]}};\)\), "\[IndentingNewLine]", \(\(QafterInv\ = \ Inverse[Qafter];\)\), "\[IndentingNewLine]", \(MatrixForm[H\ = \ FullSimplify[QafterInv . Qbefore]]\)}], "Input"], Cell[BoxData[ TagBox[ RowBox[{"(", "\[NoBreak]", GridBox[{ {\(-\(\(a\ L\ m\ Cos[\[Theta]ns[t] - \[Theta]s[t]]\)\/\(a\^2\ m + L\^2\ \((m + M)\) - L\^2\ m\ Cos[\[Theta]ns[t] - \[Theta]s[t]]\^2\)\)\), \(\ \(\(-a\)\ \((a\^2\ m + L\^2\ \((m + M)\))\) + L\^2\ \((2\ a\ m + L\ M)\)\ Cos[\[Theta]ns[t] - \ \[Theta]s[t]]\^2\)\/\(b\ \((a\^2\ m + L\^2\ \((m + M)\) - L\^2\ m\ Cos[\[Theta]ns[t] - \ \[Theta]s[t]]\^2)\)\)\)}, {\(-\(\(a\ b\ m\)\/\(a\^2\ m + L\^2\ \((m + M)\) - L\^2\ m\ Cos[\[Theta]ns[t] - \[Theta]s[t]]\^2\)\)\), \(\ \(2\ L\ \((a\ m + L\ M)\)\ Cos[\[Theta]ns[t] - \[Theta]s[ t]]\)\/\(2\ a\^2\ m + L\^2\ \((m + 2\ M)\) - L\^2\ m\ Cos[2\ \((\[Theta]ns[t] - \[Theta]s[t])\)]\)\)} }, RowSpacings->1, ColumnSpacings->1, ColumnAlignments->{Left}], "\[NoBreak]", ")"}], Function[ BoxForm`e$, MatrixForm[ BoxForm`e$]]]], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(FullSimplify[H . {\(\[Theta]ns'\)[t], \ \(\[Theta]s'\)[t]}]\)], "Input"], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"-", FractionBox[ RowBox[{ RowBox[{ "a", " ", "b", " ", "L", " ", "m", " ", \(Cos[\[Theta]ns[t] - \[Theta]s[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]ns", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "+", RowBox[{\((a\^3\ m + a\ L\^2\ \((m + M)\) - L\^2\ \((2\ a\ m + L\ M)\)\ Cos[\[Theta]ns[t] - \[Theta]s[t]]\^2)\), " ", RowBox[{ SuperscriptBox["\[Theta]s", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}], \(b\ \((a\^2\ m + L\^2\ \((m + M)\) - L\^2\ m\ Cos[\[Theta]ns[t] - \[Theta]s[t]]\^2)\)\)]}], ",", FractionBox[ RowBox[{"2", " ", RowBox[{"(", RowBox[{ RowBox[{\(-a\), " ", "b", " ", "m", " ", RowBox[{ SuperscriptBox["\[Theta]ns", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "+", RowBox[{ "L", " ", \((a\ m + L\ M)\), " ", \(Cos[\[Theta]ns[t] - \[Theta]s[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]s", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}], ")"}]}], \(2\ a\^2\ m + L\^2\ \((m + 2\ M)\) - L\^2\ m\ Cos[2\ \((\[Theta]ns[t] - \[Theta]s[t])\)]\)]}], "}"}]], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(angconsimpact\ = \ % /. {L \[Rule] a + b}\ // FullSimplify\)], "Input"], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"-", FractionBox[ RowBox[{ RowBox[{ "a", " ", "b", " ", \((a + b)\), " ", "m", " ", \(Cos[\[Theta]ns[t] - \[Theta]s[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]ns", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "+", RowBox[{\((a\^3\ m + a\ \((a + b)\)\^2\ \((m + M)\) - \((a + b)\)\^2\ \((2\ a\ m + \((a + b)\)\ M)\)\ Cos[\[Theta]ns[t] - \[Theta]s[t]]\ \^2)\), " ", RowBox[{ SuperscriptBox["\[Theta]s", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}], \(b\ \((a\^2\ m + \((a + b)\)\^2\ \((m + M)\) - \((a + b)\)\^2\ m\ Cos[\[Theta]ns[t] - \ \[Theta]s[t]]\^2)\)\)]}], ",", FractionBox[ RowBox[{"2", " ", RowBox[{"(", RowBox[{ RowBox[{\(-a\), " ", "b", " ", "m", " ", RowBox[{ SuperscriptBox["\[Theta]ns", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "+", RowBox[{\((a + b)\), " ", \((b\ M + a\ \((m + M)\))\), " ", \(Cos[\[Theta]ns[t] - \[Theta]s[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]s", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}], ")"}]}], \(2\ a\^2\ m + \((a + b)\)\^2\ \((m + 2\ M)\) - \((a + b)\)\^2\ m\ Cos[ 2\ \((\[Theta]ns[t] - \[Theta]s[t])\)]\)]}], "}"}]], "Output"] }, Open ]] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["Perfectly Plastic Impacts", "Section"], Cell["Method obtained from Bullo et al:", "Text"], Cell[CellGroupData[{ Cell["Generalized M matrix", "Subsection"], Cell[CellGroupData[{ Cell[BoxData[ \(MatrixForm[ Mmatrix\ = \ {{b\^2\ m, \(-b\)\ \((a + b)\)\ m\ Cos[\[Theta]ns[t] - \[Theta]s[ t]], \(-b\)\ m\ Cos[\[Theta]ns[t]], 0, b\ m\ Sin[\[Theta]ns[t]]}, {\(-b\)\ \((a + b)\)\ m\ Cos[\[Theta]ns[t] - \[Theta]s[t]], \((2\ a\^2 + 2\ a\ b + b\^2)\)\ m + \((a + b)\)\^2\ M, \((b\ \((m + M)\) + a\ \((2\ m + M)\))\)\ Cos[\[Theta]s[t]], 0, \((\(-b\)\ \((m + M)\) - a\ \((2\ m + M)\))\)\ Sin[\[Theta]s[ t]]}, {\(-b\)\ m\ Cos[\[Theta]ns[t]], \((b\ \((m + M)\) + a\ \((2\ m + M)\))\)\ Cos[\[Theta]s[t]], 2\ m + M, 0, 0}, {0, 0, 0, 2\ m + M, 0}, {b\ m\ Sin[\[Theta]ns[t]], \((\(-b\)\ \((m + M)\) - a\ \((2\ m + M)\))\)\ Sin[\[Theta]s[t]], 0, 0, 2\ m + M}}]\)], "Input"], Cell[BoxData[ TagBox[ RowBox[{"(", "\[NoBreak]", GridBox[{ {\(b\^2\ m\), \(\(-b\)\ \((a + b)\)\ m\ Cos[\[Theta]ns[t] - \[Theta]s[ t]]\), \(\(-b\)\ m\ Cos[\[Theta]ns[t]]\), "0", \(b\ m\ Sin[\[Theta]ns[t]]\)}, {\(\(-b\)\ \((a + b)\)\ m\ Cos[\[Theta]ns[t] - \[Theta]s[ t]]\), \(\((2\ a\^2 + 2\ a\ b + b\^2)\)\ m + \((a + b)\)\^2\ M\), \(\((b\ \((m + M)\) + a\ \((2\ m + M)\))\)\ Cos[\[Theta]s[t]]\), "0", \(\((\(-b\)\ \((m + M)\) - a\ \((2\ m + M)\))\)\ Sin[\[Theta]s[t]]\)}, {\(\(-b\)\ m\ Cos[\[Theta]ns[t]]\), \(\((b\ \((m + M)\) + a\ \((2\ m + M)\))\)\ Cos[\[Theta]s[t]]\), \(2\ m + M\), "0", "0"}, {"0", "0", "0", \(2\ m + M\), "0"}, {\(b\ m\ Sin[\[Theta]ns[t]]\), \(\((\(-b\)\ \((m + M)\) - a\ \((2\ m + M)\))\)\ Sin[\[Theta]s[t]]\), "0", "0", \(2\ m + M\)} }, RowSpacings->1, ColumnSpacings->1, ColumnAlignments->{Left}], "\[NoBreak]", ")"}], Function[ BoxForm`e$, MatrixForm[ BoxForm`e$]]]], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ \(\(l\ = \ a + b;\)\), "\[IndentingNewLine]", \(\(Pos1\ = l\ Sin[\[Theta]s[t]]\ - \ l\ Sin[\[Theta]ns[t]]\ + \ x[t];\)\), "\[IndentingNewLine]", \(\(Pos2\ = \ y[t];\)\), "\[IndentingNewLine]", \(\(Pos3\ = \ l\ Cos[\[Theta]s[t]]\ - \ l\ Cos[\[Theta]ns[t]] + z[t];\)\), "\[IndentingNewLine]", \(MatrixForm[ F\ = \ FullSimplify[\[IndentingNewLine]{{D[Pos1, \[Theta]ns[t]], D[Pos1, \[Theta]s[t]], D[Pos1, x[t]], D[Pos1, y[t]], D[Pos1, z[t]]}, \[IndentingNewLine]{D[Pos2, \[Theta]ns[t]], D[Pos2, \[Theta]s[t]], D[Pos2, x[t]], D[Pos2, y[t]], D[Pos2, z[t]]}, \[IndentingNewLine]{D[Pos3, \[Theta]ns[t]], D[Pos3, \[Theta]s[t]], D[Pos3, x[t]], D[Pos3, y[t]], D[Pos3, z[t]]}}]]\)}], "Input"], Cell[BoxData[ TagBox[ RowBox[{"(", "\[NoBreak]", GridBox[{ {\(\(-\((a + b)\)\)\ Cos[\[Theta]ns[t]]\), \(\((a + b)\)\ Cos[\[Theta]s[t]]\), "1", "0", "0"}, {"0", "0", "0", "1", "0"}, {\(\((a + b)\)\ Sin[\[Theta]ns[ t]]\), \(\(-\((a + b)\)\)\ Sin[\[Theta]s[t]]\), "0", "0", "1"} }, RowSpacings->1, ColumnSpacings->1, ColumnAlignments->{Left}], "\[NoBreak]", ")"}], Function[ BoxForm`e$, MatrixForm[ BoxForm`e$]]]], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(MatrixForm[ nFT\ = \ Join[\(-Transpose[F]\), {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}}]]\)], "Input"], Cell[BoxData[ TagBox[ RowBox[{"(", "\[NoBreak]", GridBox[{ {\(\((a + b)\)\ Cos[\[Theta]ns[t]]\), "0", \(\(-\((a + b)\)\)\ Sin[\[Theta]ns[t]]\)}, {\(\(-\((a + b)\)\)\ Cos[\[Theta]s[t]]\), "0", \(\((a + b)\)\ Sin[\[Theta]s[t]]\)}, {\(-1\), "0", "0"}, {"0", \(-1\), "0"}, {"0", "0", \(-1\)}, {"0", "0", "0"}, {"0", "0", "0"}, {"0", "0", "0"} }, RowSpacings->1, ColumnSpacings->1, ColumnAlignments->{Left}], "\[NoBreak]", ")"}], Function[ BoxForm`e$, MatrixForm[ BoxForm`e$]]]], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(MatrixForm[ FullMatrix\ = \ Transpose[ Join[Transpose[Join[Mmatrix, F]], Transpose[nFT]]]]\)], "Input"], Cell[BoxData[ TagBox[ RowBox[{"(", "\[NoBreak]", GridBox[{ {\(b\^2\ m\), \(\(-b\)\ \((a + b)\)\ m\ Cos[\[Theta]ns[t] - \[Theta]s[ t]]\), \(\(-b\)\ m\ Cos[\[Theta]ns[t]]\), "0", \(b\ m\ Sin[\[Theta]ns[t]]\), \(\((a + b)\)\ Cos[\[Theta]ns[t]]\), "0", \(\(-\((a + b)\)\)\ Sin[\[Theta]ns[t]]\)}, {\(\(-b\)\ \((a + b)\)\ m\ Cos[\[Theta]ns[t] - \[Theta]s[ t]]\), \(\((2\ a\^2 + 2\ a\ b + b\^2)\)\ m + \((a + b)\)\^2\ M\), \(\((b\ \((m + M)\) + a\ \((2\ m + M)\))\)\ Cos[\[Theta]s[t]]\), "0", \(\((\(-b\)\ \((m + M)\) - a\ \((2\ m + M)\))\)\ Sin[\[Theta]s[ t]]\), \(\(-\((a + b)\)\)\ Cos[\[Theta]s[t]]\), "0", \(\((a + b)\)\ Sin[\[Theta]s[t]]\)}, {\(\(-b\)\ m\ Cos[\[Theta]ns[t]]\), \(\((b\ \((m + M)\) + a\ \((2\ m + M)\))\)\ Cos[\[Theta]s[t]]\), \(2\ m + M\), "0", "0", \(-1\), "0", "0"}, {"0", "0", "0", \(2\ m + M\), "0", "0", \(-1\), "0"}, {\(b\ m\ Sin[\[Theta]ns[t]]\), \(\((\(-b\)\ \((m + M)\) - a\ \((2\ m + M)\))\)\ Sin[\[Theta]s[t]]\), "0", "0", \(2\ m + M\), "0", "0", \(-1\)}, {\(\(-\((a + b)\)\)\ Cos[\[Theta]ns[t]]\), \(\((a + b)\)\ Cos[\[Theta]s[t]]\), "1", "0", "0", "0", "0", "0"}, {"0", "0", "0", "1", "0", "0", "0", "0"}, {\(\((a + b)\)\ Sin[\[Theta]ns[ t]]\), \(\(-\((a + b)\)\)\ Sin[\[Theta]s[t]]\), "0", "0", "1", "0", "0", "0"} }, RowSpacings->1, ColumnSpacings->1, ColumnAlignments->{Left}], "\[NoBreak]", ")"}], Function[ BoxForm`e$, MatrixForm[ BoxForm`e$]]]], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(MatrixForm[ DMatrix\ = \ Join[Mmatrix . {\(\[Theta]ns'\)[t], \(\[Theta]s'\)[t], 0, 0, 0}, {0, 0, 0}]]\)], "Input"], Cell[BoxData[ TagBox[ RowBox[{"(", "\[NoBreak]", TagBox[GridBox[{ { RowBox[{ RowBox[{\(b\^2\), " ", "m", " ", RowBox[{ SuperscriptBox["\[Theta]ns", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "-", RowBox[{ "b", " ", \((a + b)\), " ", "m", " ", \(Cos[\[Theta]ns[t] - \[Theta]s[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]s", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}]}, { RowBox[{ RowBox[{\(-b\), " ", \((a + b)\), " ", "m", " ", \(Cos[\[Theta]ns[t] - \[Theta]s[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]ns", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "+", RowBox[{\((\((2\ a\^2 + 2\ a\ b + b\^2)\)\ m + \((a + b)\)\^2\ M)\), " ", RowBox[{ SuperscriptBox["\[Theta]s", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}]}, { RowBox[{ RowBox[{\(-b\), " ", "m", " ", \(Cos[\[Theta]ns[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]ns", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "+", RowBox[{\((b\ \((m + M)\) + a\ \((2\ m + M)\))\), " ", \(Cos[\[Theta]s[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]s", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}]}, {"0"}, { RowBox[{ RowBox[{"b", " ", "m", " ", \(Sin[\[Theta]ns[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]ns", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "+", RowBox[{\((\(-b\)\ \((m + M)\) - a\ \((2\ m + M)\))\), " ", \(Sin[\[Theta]s[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]s", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}]}, {"0"}, {"0"}, {"0"} }, RowSpacings->1, ColumnAlignments->{Left}], Column], "\[NoBreak]", ")"}], Function[ BoxForm`e$, MatrixForm[ BoxForm`e$]]]], "Output"] }, Open ]], Cell[BoxData[ \(\(K\ = \ Inverse[FullMatrix] . DMatrix;\)\)], "Input"], Cell[CellGroupData[{ Cell[BoxData[ \(plasticimpact\ = \ {FullSimplify[K[\([2]\)]], FullSimplify[K[\([1]\)]]}\)], "Input"], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"-", FractionBox[ RowBox[{ RowBox[{ "2", " ", "a", " ", "b", " ", \((a + b)\), " ", "m", " ", \(Cos[\[Theta]ns[t] - \[Theta]s[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]ns", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "+", RowBox[{\((2\ a\^3\ m + \((a - b)\)\ \((a + b)\)\^2\ M - \((a + b)\)\^2\ \((2\ a\ \ m + \((a + b)\)\ M)\)\ Cos[2\ \((\[Theta]ns[t] - \[Theta]s[t])\)])\), " ", RowBox[{ SuperscriptBox["\[Theta]s", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}], \(b\ \((\((3\ a\^2 + 2\ a\ b + b\^2)\)\ m + 2\ \((a + b)\)\^2\ M - \((a + b)\)\^2\ m\ Cos[ 2\ \((\[Theta]ns[t] - \[Theta]s[t])\)])\)\)]}], ",", FractionBox[ RowBox[{"2", " ", RowBox[{"(", RowBox[{ RowBox[{\(-a\), " ", "b", " ", "m", " ", RowBox[{ SuperscriptBox["\[Theta]ns", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "+", RowBox[{\((a + b)\), " ", \((b\ M + a\ \((m + M)\))\), " ", \(Cos[\[Theta]ns[t] - \[Theta]s[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]s", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}], ")"}]}], \(\((3\ a\^2 + 2\ a\ b + b\^2)\)\ m + 2\ \((a + b)\)\^2\ M - \((a + b)\)\^2\ m\ Cos[ 2\ \((\[Theta]ns[t] - \[Theta]s[t])\)]\)]}], "}"}]], "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["Compared to the angular conservation impact equations...", "Subsection"], Cell[CellGroupData[{ Cell[BoxData[ \(angconsimpact\)], "Input"], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"-", FractionBox[ RowBox[{ RowBox[{ "a", " ", "b", " ", \((a + b)\), " ", "m", " ", \(Cos[\[Theta]ns[t] - \[Theta]s[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]ns", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "+", RowBox[{\((a\^3\ m + a\ \((a + b)\)\^2\ \((m + M)\) - \((a + b)\)\^2\ \((2\ a\ m + \((a + b)\)\ M)\)\ Cos[\[Theta]ns[t] - \[Theta]s[t]]\ \^2)\), " ", RowBox[{ SuperscriptBox["\[Theta]s", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}], \(b\ \((a\^2\ m + \((a + b)\)\^2\ \((m + M)\) - \((a + b)\)\^2\ m\ Cos[\[Theta]ns[t] - \ \[Theta]s[t]]\^2)\)\)]}], ",", FractionBox[ RowBox[{"2", " ", RowBox[{"(", RowBox[{ RowBox[{\(-a\), " ", "b", " ", "m", " ", RowBox[{ SuperscriptBox["\[Theta]ns", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}], "+", RowBox[{\((a + b)\), " ", \((b\ M + a\ \((m + M)\))\), " ", \(Cos[\[Theta]ns[t] - \[Theta]s[t]]\), " ", RowBox[{ SuperscriptBox["\[Theta]s", "\[Prime]", MultilineFunction->None], "[", "t", "]"}]}]}], ")"}]}], \(2\ a\^2\ m + \((a + b)\)\^2\ \((m + 2\ M)\) - \((a + b)\)\^2\ m\ Cos[ 2\ \((\[Theta]ns[t] - \[Theta]s[t])\)]\)]}], "}"}]], "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["The two methods ARE equivalent:", "Subsection"], Cell[CellGroupData[{ Cell[BoxData[ \(plasticimpact\ == \ angconsimpact\ // FullSimplify\)], "Input"], Cell[BoxData[ \(True\)], "Output"] }, Open ]] }, Open ]] }, Open ]] }, Open ]] }, FrontEndVersion->"5.1 for Microsoft Windows", ScreenRectangle->{{0, 1024}, {0, 693}}, WindowSize->{1016, 651}, WindowMargins->{{0, Automatic}, {Automatic, 0}} ] (******************************************************************* Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. *******************************************************************) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[1776, 53, 162, 3, 205, "Title"], Cell[1941, 58, 239, 8, 150, "Subsubtitle"], Cell[CellGroupData[{ Cell[2205, 70, 51, 0, 73, "Section"], Cell[CellGroupData[{ Cell[2281, 74, 41, 0, 38, "Subsection"], Cell[CellGroupData[{ Cell[2347, 78, 721, 12, 90, "Input"], Cell[3071, 92, 1106, 22, 69, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[4214, 119, 92, 1, 30, "Input"], Cell[4309, 122, 1686, 39, 84, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[6032, 166, 93, 1, 30, "Input"], Cell[6128, 169, 1815, 40, 84, "Output"] }, Open ]] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[8004, 216, 44, 0, 73, "Section"], Cell[8051, 218, 49, 0, 33, "Text"], Cell[CellGroupData[{ Cell[8125, 222, 42, 0, 38, "Subsection"], Cell[CellGroupData[{ Cell[8192, 226, 928, 16, 115, "Input"], Cell[9123, 244, 1285, 26, 95, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[10445, 275, 863, 16, 170, "Input"], Cell[11311, 293, 580, 14, 57, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[11928, 312, 135, 3, 30, "Input"], Cell[12066, 317, 677, 18, 137, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[12780, 340, 149, 4, 30, "Input"], Cell[12932, 346, 1932, 36, 143, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[14901, 387, 163, 4, 30, "Input"], Cell[15067, 393, 2830, 65, 143, "Output"] }, Open ]], Cell[17912, 461, 75, 1, 30, "Input"], Cell[CellGroupData[{ Cell[18012, 466, 114, 2, 30, "Input"], Cell[18129, 470, 1827, 38, 84, "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[20005, 514, 78, 0, 38, "Subsection"], Cell[CellGroupData[{ Cell[20108, 518, 46, 1, 30, "Input"], Cell[20157, 521, 1815, 40, 84, "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[22021, 567, 53, 0, 38, "Subsection"], Cell[CellGroupData[{ Cell[22099, 571, 85, 1, 30, "Input"], Cell[22187, 574, 38, 1, 29, "Output"] }, Open ]] }, Open ]] }, Open ]] }, Open ]] } ] *) (******************************************************************* End of Mathematica Notebook file. *******************************************************************)