Ondas/Notebooks/2-DosParticulas.nb

971 lines
34 KiB
Mathematica

(* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 13.2' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
NotebookDataLength[ 34791, 962]
NotebookOptionsPosition[ 29321, 863]
NotebookOutlinePosition[ 29786, 881]
CellTagsIndexPosition[ 29743, 878]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[CellGroupData[{
Cell["Dos part\[IAcute]culas acopladas", "Title",
CellChangeTimes->{{3.898186241363925*^9, 3.8981862551632557`*^9}, {
3.898187720916862*^9,
3.898187725716125*^9}},ExpressionUUID->"480d5f7d-45fb-40a1-bc21-\
04aa8b6ee330"],
Cell[CellGroupData[{
Cell["Sin rotaci\[OAcute]n", "Section",
CellChangeTimes->{{3.8981879197215033`*^9,
3.8981879241770906`*^9}},ExpressionUUID->"b974cc17-55a0-4238-9726-\
89063ea3bdd0"],
Cell[BoxData["Quit"], "Input",
CellChangeTimes->{{3.8981879582410917`*^9,
3.8981879586966057`*^9}},ExpressionUUID->"42198e70-59cc-4baa-887a-\
d542477e9c01"],
Cell[CellGroupData[{
Cell["Posici\[OAcute]n", "Subsection",
CellChangeTimes->{{3.89818754854432*^9, 3.8981875523990498`*^9}, {
3.898187762325726*^9,
3.898187763579722*^9}},ExpressionUUID->"ee16e0b6-b83f-423c-8a48-\
c49492382792"],
Cell["\<\
Para despejar la posici\[OAcute]n de cada part\[IAcute]cula escribimos la \
condici\[OAcute]n para que el centro de masas est\[EAcute] en el origen y la \
ecuaci\[OAcute]n que define \[Delta]x\
\>", "Text",
CellChangeTimes->{{3.8981877712604923`*^9,
3.8981878082431*^9}},ExpressionUUID->"13ffddb6-291b-4611-aca3-14e06aae2f1a"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Ecua", "=",
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"m1", " ",
RowBox[{"x1", "[", "t", "]"}]}], "+",
RowBox[{"m2", " ",
RowBox[{"x2", "[", "t", "]"}]}]}], ")"}], "/",
RowBox[{"(",
RowBox[{"m1", "+", "m2"}], ")"}]}], "==", "0"}], ",", " ",
RowBox[{
RowBox[{"\[Delta]x", "[", "t", "]"}], "==",
RowBox[{
RowBox[{"x2", "[", "t", "]"}], "-",
RowBox[{"x1", "[", "t", "]"}], "-", "a"}]}]}], "}"}]}]], "Input",
CellChangeTimes->{{3.896457308734207*^9, 3.896457330022421*^9}, {
3.896457376989176*^9, 3.896457399517359*^9}},
CellLabel->"In[1]:=",ExpressionUUID->"3fdf529b-6ca2-4052-93f5-28cbb9234fe8"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{
FractionBox[
RowBox[{
RowBox[{"m1", " ",
RowBox[{"x1", "[", "t", "]"}]}], "+",
RowBox[{"m2", " ",
RowBox[{"x2", "[", "t", "]"}]}]}],
RowBox[{"m1", "+", "m2"}]], "\[Equal]", "0"}], ",",
RowBox[{
RowBox[{"\[Delta]x", "[", "t", "]"}], "\[Equal]",
RowBox[{
RowBox[{"-", "a"}], "-",
RowBox[{"x1", "[", "t", "]"}], "+",
RowBox[{"x2", "[", "t", "]"}]}]}]}], "}"}]], "Output",
CellChangeTimes->{3.896457414022626*^9, 3.8981885540157557`*^9},
CellLabel->"Out[1]=",ExpressionUUID->"01da35b0-cd67-4fdc-b6bc-e7b684ceae69"]
}, Open ]],
Cell["\<\
De donde podemos resolver para las posiciones de cada una de las \
part\[IAcute]culas\
\>", "Text",
CellChangeTimes->{{3.8981878131637497`*^9,
3.898187830834487*^9}},ExpressionUUID->"4f8b2285-0cd8-4343-8c01-\
3e5e523df48d"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Solve", "[",
RowBox[{"Ecua", ",",
RowBox[{"{",
RowBox[{
RowBox[{"x1", "[", "t", "]"}], ",",
RowBox[{"x2", "[", "t", "]"}]}], "}"}]}], "]"}]], "Input",
CellChangeTimes->{{3.896457416406809*^9, 3.896457426276842*^9}},
CellLabel->"In[2]:=",ExpressionUUID->"26cc42a2-1bd0-4fb4-b7db-245ea00419b1"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"x1", "[", "t", "]"}], "\[Rule]",
RowBox[{"-",
FractionBox[
RowBox[{"m2", " ",
RowBox[{"(",
RowBox[{"a", "+",
RowBox[{"\[Delta]x", "[", "t", "]"}]}], ")"}]}],
RowBox[{"m1", "+", "m2"}]]}]}], ",",
RowBox[{
RowBox[{"x2", "[", "t", "]"}], "\[Rule]",
FractionBox[
RowBox[{"m1", " ",
RowBox[{"(",
RowBox[{"a", "+",
RowBox[{"\[Delta]x", "[", "t", "]"}]}], ")"}]}],
RowBox[{"m1", "+", "m2"}]]}]}], "}"}], "}"}]], "Output",
CellChangeTimes->{3.896457427412499*^9, 3.898188555742094*^9},
CellLabel->"Out[2]=",ExpressionUUID->"2338d8af-ad8a-46a4-b7db-f84f2f6ad291"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{
RowBox[{"x1", "[", "t_", "]"}], "=",
RowBox[{"-",
FractionBox[
RowBox[{"m2", " ",
RowBox[{"(",
RowBox[{"a", "+",
RowBox[{"\[Delta]x", "[", "t", "]"}]}], ")"}]}],
RowBox[{"m1", "+", "m2"}]]}]}]], "Input",
CellChangeTimes->{{3.896457456940403*^9, 3.8964574636284323`*^9}},
CellLabel->"In[3]:=",ExpressionUUID->"f8972876-dd7e-4c11-b1c5-61dc36d9c99e"],
Cell[BoxData[
RowBox[{"-",
FractionBox[
RowBox[{"m2", " ",
RowBox[{"(",
RowBox[{"a", "+",
RowBox[{"\[Delta]x", "[", "t", "]"}]}], ")"}]}],
RowBox[{"m1", "+", "m2"}]]}]], "Output",
CellChangeTimes->{3.896457466398056*^9, 3.898188558024366*^9},
CellLabel->"Out[3]=",ExpressionUUID->"e7952def-6cf1-4fc0-bbea-43768e8561eb"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{
RowBox[{"x2", "[", "t_", "]"}], "=",
FractionBox[
RowBox[{"m1", " ",
RowBox[{"(",
RowBox[{"a", "+",
RowBox[{"\[Delta]x", "[", "t", "]"}]}], ")"}]}],
RowBox[{"m1", "+", "m2"}]]}]], "Input",
CellChangeTimes->{{3.896457468557444*^9, 3.8964574701165743`*^9}},
CellLabel->"In[4]:=",ExpressionUUID->"58bca70d-f0e6-4a30-946e-1554264bdf22"],
Cell[BoxData[
FractionBox[
RowBox[{"m1", " ",
RowBox[{"(",
RowBox[{"a", "+",
RowBox[{"\[Delta]x", "[", "t", "]"}]}], ")"}]}],
RowBox[{"m1", "+", "m2"}]]], "Output",
CellChangeTimes->{3.896457470909659*^9, 3.898188558911467*^9},
CellLabel->"Out[4]=",ExpressionUUID->"1ca25d75-5688-48e8-8112-66809e8d0bc1"]
}, Open ]]
}, Closed]],
Cell[CellGroupData[{
Cell["Soluci\[OAcute]n", "Subsection",
CellChangeTimes->{{3.898187847546523*^9,
3.898187856978285*^9}},ExpressionUUID->"6decf108-24d7-4a03-be4f-\
0fd59c5e9a16"],
Cell["La soluci\[OAcute]n para la distancia relativa toma la forma", "Text",
CellChangeTimes->{{3.898187861370549*^9,
3.8981878704579697`*^9}},ExpressionUUID->"753c7e11-3e39-4276-8b7d-\
a52d4b4139bd"],
Cell[BoxData[
RowBox[{
RowBox[{"\[Delta]x", "[", "t_", "]"}], ":=",
RowBox[{"A", " ",
RowBox[{"Cos", "[",
RowBox[{
RowBox[{"\[Omega]0", " ", "t"}], "+", "\[Delta]"}], "]"}]}]}]], "Input",
CellChangeTimes->{{3.896457479568157*^9, 3.896457492670999*^9}},
CellLabel->"In[5]:=",ExpressionUUID->"a0a4084c-a24d-48c8-b8f7-daf8e3a9d4a6"]
}, Closed]],
Cell[CellGroupData[{
Cell["Animaci\[OAcute]n", "Subsection",
CellChangeTimes->{{3.8981878752743683`*^9,
3.898187885345747*^9}},ExpressionUUID->"d1cdfd61-dc32-41f3-abbe-\
95b4ba474db6"],
Cell["Para hacer una animaci\[OAcute]n les damos valores a las constantes", \
"Text",
CellChangeTimes->{{3.898187889658066*^9,
3.898187898313472*^9}},ExpressionUUID->"a125df6f-4922-45c7-a22c-\
8a0b91af419d"],
Cell[BoxData[{
RowBox[{
RowBox[{"\[Omega]0", "=", "2"}], " ", ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"A", "=", "2"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"\[Delta]", "=", "0"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"m1", "=", "5"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"m2", "=", "5"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"a", "=", "5"}], ";"}]}], "Input",
CellChangeTimes->{{3.896375953501997*^9, 3.8963760407089233`*^9}, {
3.896457513235818*^9, 3.896457539363508*^9}, {3.896457596259014*^9,
3.8964576439066343`*^9}, {3.896457717649619*^9, 3.896457738249598*^9},
3.898187901057806*^9},
CellLabel->"In[6]:=",ExpressionUUID->"e6917571-3a29-4ce5-93a0-8c8218badcfa"],
Cell["Con lo cual tenemos", "Text",
CellChangeTimes->{{3.8981879022358093`*^9,
3.8981879052253113`*^9}},ExpressionUUID->"37c132dd-4c82-458a-9b8e-\
a777da667b2e"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Animate", "[",
RowBox[{
RowBox[{"Graphics", "[",
RowBox[{"{",
RowBox[{
RowBox[{"Polygon", "[",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"-", "10"}], ",",
RowBox[{"-", "5"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{"10", ",", "5"}], "}"}]}], "}"}], "]"}], ",",
RowBox[{"{",
RowBox[{"Orange", ",",
RowBox[{"Disk", "[",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"x1", "[", "t", "]"}], ",", "0"}], "}"}], ",",
RowBox[{"m1", "/", "5"}]}], "]"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{"Red", ",",
RowBox[{"Disk", "[",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"x2", "[", "t", "]"}], ",", "0"}], "}"}], ",",
RowBox[{"m2", "/", "5"}]}], "]"}]}], "}"}]}], "}"}], "]"}], ",",
RowBox[{"{",
RowBox[{"t", ",", "0", ",", "10"}], "}"}]}], "]"}]], "Input",
CellChangeTimes->{{3.896375817168126*^9, 3.8963759443904457`*^9}, {
3.896457552029765*^9, 3.896457576652191*^9}, {3.896457660292104*^9,
3.896457708378468*^9}},
CellLabel->"In[12]:=",ExpressionUUID->"729a51b4-d4eb-4e4a-af91-f2413b14be68"],
Cell[BoxData[
TagBox[
StyleBox[
DynamicModuleBox[{$CellContext`t$$ = 2.7485733032226562`, Typeset`show$$ =
True, Typeset`bookmarkList$$ = {}, Typeset`bookmarkMode$$ = "Menu",
Typeset`animator$$, Typeset`animvar$$ = 1, Typeset`name$$ =
"\"sin t\[IAcute]tulo\"", Typeset`specs$$ = {{
Hold[$CellContext`t$$], 0, 10}}, Typeset`size$$ = {
468., {118., 124.61120000000003`}}, Typeset`update$$ = 0,
Typeset`initDone$$, Typeset`skipInitDone$$ = True},
DynamicBox[Manipulate`ManipulateBoxes[
1, StandardForm, "Variables" :> {$CellContext`t$$ = 0},
"ControllerVariables" :> {},
"OtherVariables" :> {
Typeset`show$$, Typeset`bookmarkList$$, Typeset`bookmarkMode$$,
Typeset`animator$$, Typeset`animvar$$, Typeset`name$$,
Typeset`specs$$, Typeset`size$$, Typeset`update$$, Typeset`initDone$$,
Typeset`skipInitDone$$}, "Body" :> Graphics[{
Polygon[{{-10, -5}, {10, 5}}], {Orange,
Disk[{
$CellContext`x1[$CellContext`t$$], 0}, $CellContext`m1/5]}, {
Red,
Disk[{
$CellContext`x2[$CellContext`t$$], 0}, $CellContext`m2/5]}}],
"Specifications" :> {{$CellContext`t$$, 0, 10,
AppearanceElements -> {
"ProgressSlider", "PlayPauseButton", "FasterSlowerButtons",
"DirectionButton"}}},
"Options" :> {
ControlType -> Animator, AppearanceElements -> None, DefaultBaseStyle ->
"Animate", DefaultLabelStyle -> "AnimateLabel", SynchronousUpdating ->
True, ShrinkingDelay -> 10.}, "DefaultOptions" :> {}],
ImageSizeCache->{827., {144.861328125, 152.138671875}},
SingleEvaluation->True],
Deinitialization:>None,
DynamicModuleValues:>{},
SynchronousInitialization->True,
UndoTrackedVariables:>{Typeset`show$$, Typeset`bookmarkMode$$},
UnsavedVariables:>{Typeset`initDone$$},
UntrackedVariables:>{Typeset`size$$}], "Animate",
Deployed->True,
StripOnInput->False],
Manipulate`InterpretManipulate[1]]], "Output",
CellChangeTimes->{{3.896457579444209*^9, 3.896457587248307*^9}, {
3.896457692080243*^9, 3.896457709211211*^9}, 3.898188567375654*^9},
CellLabel->"Out[12]=",ExpressionUUID->"b6945712-0de8-46fe-8d19-06a61a6a0d55"]
}, Open ]]
}, Closed]]
}, Closed]],
Cell[CellGroupData[{
Cell["Con rotaci\[OAcute]n", "Section",
CellChangeTimes->{{3.898187945233396*^9,
3.8981879493847513`*^9}},ExpressionUUID->"7b684eea-f038-4be2-8190-\
458ab7df58a0"],
Cell[BoxData["Quit"], "Input",
CellChangeTimes->{{3.898187950586862*^9, 3.898187951048921*^9}},
CellLabel->"In[40]:=",ExpressionUUID->"eed998e3-8ae2-458a-b79d-a508c50d8295"],
Cell[CellGroupData[{
Cell["Posici\[OAcute]n", "Subsection",
CellChangeTimes->{{3.898188599215283*^9,
3.8981886028680553`*^9}},ExpressionUUID->"ad0106d0-60fc-4834-a536-\
eeed2b1b7852"],
Cell["\<\
Escribiendo la condici\[OAcute]n para que el centro de masas est\[EAcute] en \
el origen y la definici\[OAcute]n de las coordenadas relativas\
\>", "Text",
CellChangeTimes->{{3.898188594216194*^9,
3.8981886310384398`*^9}},ExpressionUUID->"a48ebb11-4795-4b6a-8c4c-\
fb19b5790f04"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Ecua", "=",
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"m1", " ",
RowBox[{"x1", "[", "t", "]"}]}], "+",
RowBox[{"m2", " ",
RowBox[{"x2", "[", "t", "]"}]}]}], ")"}], "/",
RowBox[{"(",
RowBox[{"m1", "+", "m2"}], ")"}]}], "==", "0"}], ",",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"m1", " ",
RowBox[{"y1", "[", "t", "]"}]}], "+",
RowBox[{"m2", " ",
RowBox[{"y2", "[", "t", "]"}]}]}], ")"}], "/",
RowBox[{"(",
RowBox[{"m1", "+", "m2"}], ")"}]}], "==", "0"}], ",", " ",
RowBox[{
RowBox[{"x", "[", "t", "]"}], "==",
RowBox[{
RowBox[{"x2", "[", "t", "]"}], "-",
RowBox[{"x1", "[", "t", "]"}]}]}], ",", " ",
RowBox[{
RowBox[{"y", "[", "t", "]"}], "==",
RowBox[{
RowBox[{"y2", "[", "t", "]"}], "-",
RowBox[{"y1", "[", "t", "]"}]}]}]}], "}"}]}]], "Input",
CellChangeTimes->{{3.896457308734207*^9, 3.896457330022421*^9}, {
3.896457376989176*^9, 3.896457399517359*^9}, {3.8964578290894203`*^9,
3.896457836232074*^9}, {3.8964578754157143`*^9, 3.896457890658156*^9}},
CellLabel->"In[1]:=",ExpressionUUID->"0a5af4df-c4be-42e3-b2cb-461bdc1208dc"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{
FractionBox[
RowBox[{
RowBox[{"m1", " ",
RowBox[{"x1", "[", "t", "]"}]}], "+",
RowBox[{"m2", " ",
RowBox[{"x2", "[", "t", "]"}]}]}],
RowBox[{"m1", "+", "m2"}]], "\[Equal]", "0"}], ",",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"m1", " ",
RowBox[{"y1", "[", "t", "]"}]}], "+",
RowBox[{"m2", " ",
RowBox[{"y2", "[", "t", "]"}]}]}],
RowBox[{"m1", "+", "m2"}]], "\[Equal]", "0"}], ",",
RowBox[{
RowBox[{"x", "[", "t", "]"}], "\[Equal]",
RowBox[{
RowBox[{"-",
RowBox[{"x1", "[", "t", "]"}]}], "+",
RowBox[{"x2", "[", "t", "]"}]}]}], ",",
RowBox[{
RowBox[{"y", "[", "t", "]"}], "\[Equal]",
RowBox[{
RowBox[{"-",
RowBox[{"y1", "[", "t", "]"}]}], "+",
RowBox[{"y2", "[", "t", "]"}]}]}]}], "}"}]], "Output",
CellChangeTimes->{3.896457895671381*^9, 3.898188639866578*^9,
3.8981888871907873`*^9, 3.898188935027437*^9, 3.898189000408153*^9},
CellLabel->"Out[1]=",ExpressionUUID->"fe913b27-fdef-434e-a15a-ed3491be573a"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Solve", "[",
RowBox[{"Ecua", ",", " ",
RowBox[{"{",
RowBox[{
RowBox[{"x1", "[", "t", "]"}], ",",
RowBox[{"x2", "[", "t", "]"}], ",",
RowBox[{"y1", "[", "t", "]"}], ",",
RowBox[{"y2", "[", "t", "]"}]}], "}"}]}], "]"}]], "Input",
CellChangeTimes->{{3.896457896680479*^9, 3.896457915777026*^9}},
CellLabel->"In[2]:=",ExpressionUUID->"e1532ae4-d773-48d8-a5f5-06b39a8d7a9d"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{"x1", "[", "t", "]"}], "\[Rule]",
RowBox[{"-",
FractionBox[
RowBox[{"m2", " ",
RowBox[{"x", "[", "t", "]"}]}],
RowBox[{"m1", "+", "m2"}]]}]}], ",",
RowBox[{
RowBox[{"x2", "[", "t", "]"}], "\[Rule]",
FractionBox[
RowBox[{"m1", " ",
RowBox[{"x", "[", "t", "]"}]}],
RowBox[{"m1", "+", "m2"}]]}], ",",
RowBox[{
RowBox[{"y1", "[", "t", "]"}], "\[Rule]",
RowBox[{"-",
FractionBox[
RowBox[{"m2", " ",
RowBox[{"y", "[", "t", "]"}]}],
RowBox[{"m1", "+", "m2"}]]}]}], ",",
RowBox[{
RowBox[{"y2", "[", "t", "]"}], "\[Rule]",
FractionBox[
RowBox[{"m1", " ",
RowBox[{"y", "[", "t", "]"}]}],
RowBox[{"m1", "+", "m2"}]]}]}], "}"}], "}"}]], "Output",
CellChangeTimes->{3.8964579165905113`*^9, 3.898188640142844*^9,
3.898188887256571*^9, 3.898188935095272*^9, 3.8981890009189587`*^9},
CellLabel->"Out[2]=",ExpressionUUID->"3e3bea4f-00ad-4cd6-8b26-9a87ed12b68b"]
}, Open ]],
Cell[BoxData[
RowBox[{
RowBox[{"x1", "[", "t_", "]"}], ":=",
RowBox[{"-",
FractionBox[
RowBox[{"m2", " ",
RowBox[{"x", "[", "t", "]"}]}],
RowBox[{"m1", "+", "m2"}]]}]}]], "Input",
CellChangeTimes->{{3.896457938972465*^9, 3.896457957054851*^9}},
CellLabel->"In[3]:=",ExpressionUUID->"28868a16-3caf-4152-bbc8-54812671134c"],
Cell[BoxData[
RowBox[{
RowBox[{"x2", "[", "t_", "]"}], ":=",
FractionBox[
RowBox[{"m1", " ",
RowBox[{"x", "[", "t", "]"}]}],
RowBox[{"m1", "+", "m2"}]]}]], "Input",
CellChangeTimes->{{3.8964579468071938`*^9, 3.89645796271911*^9}},
CellLabel->"In[4]:=",ExpressionUUID->"49ee20b9-680b-4600-b0bf-04583f1a93a8"],
Cell[BoxData[
RowBox[{
RowBox[{"y1", "[", "t_", "]"}], ":=",
RowBox[{"-",
FractionBox[
RowBox[{"m2", " ",
RowBox[{"y", "[", "t", "]"}]}],
RowBox[{"m1", "+", "m2"}]]}]}]], "Input",
CellChangeTimes->{{3.896457965511003*^9, 3.896457970375597*^9}},
CellLabel->"In[5]:=",ExpressionUUID->"9c5b1b7e-cd32-47dd-b3b4-e715f9d7ba3f"],
Cell[BoxData[
RowBox[{
RowBox[{"y2", "[", "t_", "]"}], ":=",
FractionBox[
RowBox[{"m1", " ",
RowBox[{"y", "[", "t", "]"}]}],
RowBox[{"m1", "+", "m2"}]]}]], "Input",
CellChangeTimes->{{3.896457974198711*^9, 3.89645797606291*^9}},
CellLabel->"In[6]:=",ExpressionUUID->"1e6b2124-52c1-4df4-9531-f4de460b34e6"]
}, Closed]],
Cell[CellGroupData[{
Cell["Soluci\[OAcute]n", "Subsection",
CellChangeTimes->{{3.898188650022894*^9,
3.898188658141952*^9}},ExpressionUUID->"300e363a-6fa3-4506-a28e-\
0cc805060c32"],
Cell["La soluci\[OAcute]n se escribe", "Text",
CellChangeTimes->{{3.8981886593983603`*^9,
3.898188665837881*^9}},ExpressionUUID->"54817b92-b1d0-41b8-ba4d-\
4f48527812de"],
Cell[BoxData[
RowBox[{
RowBox[{"x", "[", "t_", "]"}], ":=",
RowBox[{
RowBox[{"r", "[", "t", "]"}],
RowBox[{"Cos", "[",
RowBox[{"\[Theta]", "[", "t", "]"}], "]"}]}]}]], "Input",
CellChangeTimes->{{3.896458004318989*^9, 3.896458019454575*^9}},
CellLabel->"In[7]:=",ExpressionUUID->"b5d963c6-b4c9-4b23-a357-48cf17309d61"],
Cell[BoxData[{
RowBox[{
RowBox[{"y", "[", "t_", "]"}], ":=",
RowBox[{
RowBox[{"r", "[", "t", "]"}],
RowBox[{"Sin", "[",
RowBox[{"\[Theta]", "[", "t", "]"}], "]"}]}]}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"r", "[", "t_", "]"}], ":=", " ",
RowBox[{"rc", "+",
RowBox[{"\[Delta]r", "[", "t", "]"}]}]}],
"\[IndentingNewLine]"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"\[Delta]r", "[", "t_", "]"}], ":=", " ",
RowBox[{"A", " ",
RowBox[{"Cos", "[",
RowBox[{
RowBox[{"\[Omega]0", " ", "t"}], "+", "\[Delta]"}], "]"}]}]}]}], "Input",\
CellChangeTimes->{{3.8964580340308657`*^9, 3.89645803771054*^9}, {
3.898188679414411*^9, 3.898188685422063*^9}, {3.898188909699025*^9,
3.8981889113308783`*^9}},
CellLabel->"In[8]:=",ExpressionUUID->"114b89ed-032b-4645-8bf0-ec622e8e8b7f"],
Cell["Donde tenemos que el \[AAcute]ngulo est\[AAcute] dado por", "Text",
CellChangeTimes->{{3.8981886909738703`*^9, 3.89818869567738*^9}, {
3.898188914218286*^9,
3.898188918458023*^9}},ExpressionUUID->"313b80ea-ba8c-4d2c-9156-\
68be22c8d474"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{
RowBox[{"Integrate", "[", " ",
RowBox[{
RowBox[{"lz", "/",
RowBox[{"(",
RowBox[{"m", " ",
RowBox[{
RowBox[{"r", "[", "t", "]"}], "^", "2"}]}], ")"}]}], ",", "t"}],
"]"}], "\[IndentingNewLine]"}]], "Input",
CellChangeTimes->{{3.896458076440695*^9, 3.896458091361875*^9}, {
3.898188700029801*^9, 3.898188710133851*^9}, 3.898188793013299*^9, {
3.898188904899444*^9, 3.898188922682534*^9}},
CellLabel->"In[11]:=",ExpressionUUID->"c1be3eaf-0440-4a74-8b44-2d77aea22e8b"],
Cell[BoxData[
FractionBox[
RowBox[{"lz", " ",
RowBox[{"(",
RowBox[{
FractionBox[
RowBox[{"2", " ", "rc", " ",
RowBox[{"ArcTanh", "[",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "A"}], "+", "rc"}], ")"}], " ",
RowBox[{"Tan", "[",
RowBox[{
FractionBox["1", "2"], " ",
RowBox[{"(",
RowBox[{"\[Delta]", "+",
RowBox[{"t", " ", "\[Omega]0"}]}], ")"}]}], "]"}]}],
SqrtBox[
RowBox[{
SuperscriptBox["A", "2"], "-",
SuperscriptBox["rc", "2"]}]]], "]"}]}],
SuperscriptBox[
RowBox[{"(",
RowBox[{
SuperscriptBox["A", "2"], "-",
SuperscriptBox["rc", "2"]}], ")"}],
RowBox[{"3", "/", "2"}]]], "+",
FractionBox[
RowBox[{"A", " ",
RowBox[{"Sin", "[",
RowBox[{"\[Delta]", "+",
RowBox[{"t", " ", "\[Omega]0"}]}], "]"}]}],
RowBox[{
RowBox[{"(",
RowBox[{"A", "-", "rc"}], ")"}], " ",
RowBox[{"(",
RowBox[{"A", "+", "rc"}], ")"}], " ",
RowBox[{"(",
RowBox[{"rc", "+",
RowBox[{"A", " ",
RowBox[{"Cos", "[",
RowBox[{"\[Delta]", "+",
RowBox[{"t", " ", "\[Omega]0"}]}], "]"}]}]}], ")"}]}]]}], ")"}]}],
RowBox[{"m", " ", "\[Omega]0"}]]], "Output",
CellChangeTimes->{
3.898188793862525*^9, {3.8981889233192043`*^9, 3.898188935541335*^9},
3.8981890012595463`*^9},
CellLabel->"Out[11]=",ExpressionUUID->"0b03e658-f1aa-4d7b-9f70-03a8551a57b3"]
}, Open ]],
Cell["Es decir que", "Text",
CellChangeTimes->{{3.898188943482963*^9,
3.89818894721768*^9}},ExpressionUUID->"0dd4c4bf-990f-4363-a4d3-\
5d419d7ac1f9"],
Cell[BoxData[
RowBox[{
RowBox[{"\[Theta]", "[", "t_", "]"}], ":=",
FractionBox[
RowBox[{"lz", " ",
RowBox[{"(",
RowBox[{
FractionBox[
RowBox[{"2", " ", "rc", " ",
RowBox[{"ArcTanh", "[",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "A"}], "+", "rc"}], ")"}], " ",
RowBox[{"Tan", "[",
RowBox[{
FractionBox["1", "2"], " ",
RowBox[{"(",
RowBox[{"\[Delta]", "+",
RowBox[{"t", " ", "\[Omega]0"}]}], ")"}]}], "]"}]}],
SqrtBox[
RowBox[{
SuperscriptBox["A", "2"], "-",
SuperscriptBox["rc", "2"]}]]], "]"}]}],
SuperscriptBox[
RowBox[{"(",
RowBox[{
SuperscriptBox["A", "2"], "-",
SuperscriptBox["rc", "2"]}], ")"}],
RowBox[{"3", "/", "2"}]]], "+",
FractionBox[
RowBox[{"A", " ",
RowBox[{"Sin", "[",
RowBox[{"\[Delta]", "+",
RowBox[{"t", " ", "\[Omega]0"}]}], "]"}]}],
RowBox[{
RowBox[{"(",
RowBox[{"A", "-", "rc"}], ")"}], " ",
RowBox[{"(",
RowBox[{"A", "+", "rc"}], ")"}], " ",
RowBox[{"(",
RowBox[{"rc", "+",
RowBox[{"A", " ",
RowBox[{"Cos", "[",
RowBox[{"\[Delta]", "+",
RowBox[{"t", " ", "\[Omega]0"}]}], "]"}]}]}], ")"}]}]]}],
")"}]}],
RowBox[{"m", " ", "\[Omega]0"}]]}]], "Input",
CellChangeTimes->{{3.898188939937871*^9, 3.8981889408207903`*^9}},
CellLabel->"In[12]:=",ExpressionUUID->"723d2ab1-2464-4ea3-aa5a-01d47ff4c4bf"]
}, Closed]],
Cell[CellGroupData[{
Cell["Animaci\[OAcute]n", "Subsection",
CellChangeTimes->{{3.898188730021204*^9,
3.898188735076913*^9}},ExpressionUUID->"aca16a25-b56d-4c0a-add0-\
d30b160a349c"],
Cell[BoxData[{
RowBox[{
RowBox[{"\[Omega]0", "=",
RowBox[{"1", "/", "50"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"A", "=", "2"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"\[Delta]", "=", "0"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"m1", "=", "8"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"m2", "=", "5"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"rc", "=", "8"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"lz", "=", "5"}], ";"}],
"\[IndentingNewLine]"}], "\[IndentingNewLine]",
RowBox[{"m", ":=", " ",
RowBox[{"m1", " ",
RowBox[{"m2", "/",
RowBox[{"(",
RowBox[{"m1", "+", "m2"}], ")"}]}]}]}]}], "Input",
CellChangeTimes->{{3.896458282345139*^9, 3.896458283025153*^9}, {
3.896458345384122*^9, 3.896458369558832*^9}, {3.8964584187654963`*^9,
3.896458447726945*^9}, {3.898188721141343*^9, 3.89818872182968*^9}, {
3.8981888104766083`*^9, 3.898188867263801*^9}, {3.898188981521991*^9,
3.898189076328623*^9}},
CellLabel->"In[94]:=",ExpressionUUID->"82f5f3c4-ae67-41e3-9ca7-f3d813c39c7e"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Animate", "[",
RowBox[{
RowBox[{"Graphics", "[",
RowBox[{"{",
RowBox[{
RowBox[{"Polygon", "[",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"-", "10"}], ",",
RowBox[{"-", "5"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{"10", ",", "5"}], "}"}]}], "}"}], "]"}], ",",
RowBox[{"{",
RowBox[{"Orange", ",",
RowBox[{"Disk", "[",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"x1", "[", "t", "]"}], ",",
RowBox[{"y1", "[", "t", "]"}]}], "}"}], ",",
RowBox[{"m1", "/", "5"}]}], "]"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{"Red", ",",
RowBox[{"Disk", "[",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"x2", "[", "t", "]"}], ",",
RowBox[{"y2", "[", "t", "]"}]}], "}"}], ",",
RowBox[{"m2", "/", "5"}]}], "]"}]}], "}"}]}], "}"}], "]"}], ",",
RowBox[{"{",
RowBox[{"t", ",", "0", ",", "100"}], "}"}]}], "]"}]], "Input",
CellChangeTimes->{{3.896375817168126*^9, 3.8963759443904457`*^9}, {
3.896457552029765*^9, 3.896457576652191*^9}, {3.896457660292104*^9,
3.896457708378468*^9}, {3.8964582591628838`*^9, 3.896458268554235*^9}, {
3.896458379423952*^9, 3.8964583795688343`*^9}, {3.898189063068075*^9,
3.898189088240901*^9}},
CellLabel->
"In[103]:=",ExpressionUUID->"5ccced87-5f94-4bbd-991f-63eae327c52a"],
Cell[BoxData[
TagBox[
StyleBox[
DynamicModuleBox[{$CellContext`t$$ = 22.47868537902832, Typeset`show$$ =
True, Typeset`bookmarkList$$ = {}, Typeset`bookmarkMode$$ = "Menu",
Typeset`animator$$, Typeset`animvar$$ = 1, Typeset`name$$ =
"\"sin t\[IAcute]tulo\"", Typeset`specs$$ = {{
Hold[$CellContext`t$$], 0, 100}}, Typeset`size$$ = {
468., {118., 124.61120000000003`}}, Typeset`update$$ = 0,
Typeset`initDone$$, Typeset`skipInitDone$$ = True},
DynamicBox[Manipulate`ManipulateBoxes[
1, StandardForm, "Variables" :> {$CellContext`t$$ = 0},
"ControllerVariables" :> {},
"OtherVariables" :> {
Typeset`show$$, Typeset`bookmarkList$$, Typeset`bookmarkMode$$,
Typeset`animator$$, Typeset`animvar$$, Typeset`name$$,
Typeset`specs$$, Typeset`size$$, Typeset`update$$, Typeset`initDone$$,
Typeset`skipInitDone$$}, "Body" :> Graphics[{
Polygon[{{-10, -5}, {10, 5}}], {Orange,
Disk[{
$CellContext`x1[$CellContext`t$$],
$CellContext`y1[$CellContext`t$$]}, $CellContext`m1/5]}, {Red,
Disk[{
$CellContext`x2[$CellContext`t$$],
$CellContext`y2[$CellContext`t$$]}, $CellContext`m2/5]}}],
"Specifications" :> {{$CellContext`t$$, 0, 100,
AppearanceElements -> {
"ProgressSlider", "PlayPauseButton", "FasterSlowerButtons",
"DirectionButton"}}},
"Options" :> {
ControlType -> Animator, AppearanceElements -> None, DefaultBaseStyle ->
"Animate", DefaultLabelStyle -> "AnimateLabel", SynchronousUpdating ->
True, ShrinkingDelay -> 10.}, "DefaultOptions" :> {}],
ImageSizeCache->{827., {144.861328125, 152.138671875}},
SingleEvaluation->True],
Deinitialization:>None,
DynamicModuleValues:>{},
SynchronousInitialization->True,
UndoTrackedVariables:>{Typeset`show$$, Typeset`bookmarkMode$$},
UnsavedVariables:>{Typeset`initDone$$},
UntrackedVariables:>{Typeset`size$$}], "Animate",
Deployed->True,
StripOnInput->False],
Manipulate`InterpretManipulate[1]]], "Output",
CellChangeTimes->{
3.896458286998783*^9, {3.8964583310683126`*^9, 3.896458379913609*^9},
3.898188750571588*^9, {3.898188806218657*^9, 3.898188869839446*^9}, {
3.8981889558918657`*^9, 3.898188984122568*^9}, {3.898189063893229*^9,
3.898189089053257*^9}},
CellLabel->
"Out[103]=",ExpressionUUID->"4c953d68-042f-4350-8ed7-100664874395"]
}, Open ]]
}, Closed]]
}, Closed]]
}, Closed]]
},
WindowSize->{1200, 627},
WindowMargins->{{0, Automatic}, {Automatic, 0}},
TaggingRules-><|"TryRealOnly" -> False|>,
Magnification:>1.3 Inherited,
FrontEndVersion->"13.2 para Linux x86 (64-bit) (January 30, 2023)",
StyleDefinitions->"Default.nb",
ExpressionUUID->"0d356e19-cbe2-47c8-984e-a5f9b886db41"
]
(* End of Notebook Content *)
(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{}
*)
(*CellTagsIndex
CellTagsIndex->{}
*)
(*NotebookFileOutline
Notebook[{
Cell[CellGroupData[{
Cell[580, 22, 226, 4, 127, "Title",ExpressionUUID->"480d5f7d-45fb-40a1-bc21-04aa8b6ee330"],
Cell[CellGroupData[{
Cell[831, 30, 169, 3, 87, "Section",ExpressionUUID->"b974cc17-55a0-4238-9726-89063ea3bdd0"],
Cell[1003, 35, 160, 3, 60, "Input",ExpressionUUID->"42198e70-59cc-4baa-887a-d542477e9c01"],
Cell[CellGroupData[{
Cell[1188, 42, 214, 4, 70, "Subsection",ExpressionUUID->"ee16e0b6-b83f-423c-8a48-c49492382792"],
Cell[1405, 48, 340, 6, 75, "Text",ExpressionUUID->"13ffddb6-291b-4611-aca3-14e06aae2f1a"],
Cell[CellGroupData[{
Cell[1770, 58, 760, 21, 42, "Input",ExpressionUUID->"3fdf529b-6ca2-4052-93f5-28cbb9234fe8"],
Cell[2533, 81, 638, 18, 65, "Output",ExpressionUUID->"01da35b0-cd67-4fdc-b6bc-e7b684ceae69"]
}, Open ]],
Cell[3186, 102, 237, 6, 45, "Text",ExpressionUUID->"4f8b2285-0cd8-4343-8c01-3e5e523df48d"],
Cell[CellGroupData[{
Cell[3448, 112, 341, 8, 60, "Input",ExpressionUUID->"26cc42a2-1bd0-4fb4-b7db-245ea00419b1"],
Cell[3792, 122, 754, 22, 65, "Output",ExpressionUUID->"2338d8af-ad8a-46a4-b7db-f84f2f6ad291"]
}, Open ]],
Cell[CellGroupData[{
Cell[4583, 149, 412, 11, 63, "Input",ExpressionUUID->"f8972876-dd7e-4c11-b1c5-61dc36d9c99e"],
Cell[4998, 162, 350, 9, 65, "Output",ExpressionUUID->"e7952def-6cf1-4fc0-bbea-43768e8561eb"]
}, Open ]],
Cell[CellGroupData[{
Cell[5385, 176, 388, 10, 63, "Input",ExpressionUUID->"58bca70d-f0e6-4a30-946e-1554264bdf22"],
Cell[5776, 188, 327, 8, 65, "Output",ExpressionUUID->"1ca25d75-5688-48e8-8112-66809e8d0bc1"]
}, Open ]]
}, Closed]],
Cell[CellGroupData[{
Cell[6152, 202, 164, 3, 48, "Subsection",ExpressionUUID->"6decf108-24d7-4a03-be4f-0fd59c5e9a16"],
Cell[6319, 207, 204, 3, 45, "Text",ExpressionUUID->"753c7e11-3e39-4276-8b7d-a52d4b4139bd"],
Cell[6526, 212, 351, 8, 64, "Input",ExpressionUUID->"a0a4084c-a24d-48c8-b8f7-daf8e3a9d4a6"]
}, Closed]],
Cell[CellGroupData[{
Cell[6914, 225, 167, 3, 48, "Subsection",ExpressionUUID->"d1cdfd61-dc32-41f3-abbe-95b4ba474db6"],
Cell[7084, 230, 211, 4, 45, "Text",ExpressionUUID->"a125df6f-4922-45c7-a22c-8a0b91af419d"],
Cell[7298, 236, 751, 17, 172, "Input",ExpressionUUID->"e6917571-3a29-4ce5-93a0-8c8218badcfa"],
Cell[8052, 255, 165, 3, 45, "Text",ExpressionUUID->"37c132dd-4c82-458a-9b8e-a777da667b2e"],
Cell[CellGroupData[{
Cell[8242, 262, 1277, 36, 160, "Input",ExpressionUUID->"729a51b4-d4eb-4e4a-af91-f2413b14be68"],
Cell[9522, 300, 2265, 45, 321, "Output",ExpressionUUID->"b6945712-0de8-46fe-8d19-06a61a6a0d55"]
}, Open ]]
}, Closed]]
}, Closed]],
Cell[CellGroupData[{
Cell[11848, 352, 167, 3, 67, "Section",ExpressionUUID->"7b684eea-f038-4be2-8190-458ab7df58a0"],
Cell[12018, 357, 175, 2, 60, "Input",ExpressionUUID->"eed998e3-8ae2-458a-b79d-a508c50d8295"],
Cell[CellGroupData[{
Cell[12218, 363, 166, 3, 70, "Subsection",ExpressionUUID->"ad0106d0-60fc-4834-a536-eeed2b1b7852"],
Cell[12387, 368, 293, 6, 45, "Text",ExpressionUUID->"a48ebb11-4795-4b6a-8c4c-fb19b5790f04"],
Cell[CellGroupData[{
Cell[12705, 378, 1311, 37, 72, "Input",ExpressionUUID->"0a5af4df-c4be-42e3-b2cb-461bdc1208dc"],
Cell[14019, 417, 1114, 33, 70, "Output",ExpressionUUID->"fe913b27-fdef-434e-a15a-ed3491be573a"]
}, Open ]],
Cell[CellGroupData[{
Cell[15170, 455, 430, 10, 64, "Input",ExpressionUUID->"e1532ae4-d773-48d8-a5f5-06b39a8d7a9d"],
Cell[15603, 467, 1090, 32, 70, "Output",ExpressionUUID->"3e3bea4f-00ad-4cd6-8b26-9a87ed12b68b"]
}, Open ]],
Cell[16708, 502, 348, 9, 63, "Input",ExpressionUUID->"28868a16-3caf-4152-bbc8-54812671134c"],
Cell[17059, 513, 327, 8, 63, "Input",ExpressionUUID->"49ee20b9-680b-4600-b0bf-04583f1a93a8"],
Cell[17389, 523, 348, 9, 63, "Input",ExpressionUUID->"9c5b1b7e-cd32-47dd-b3b4-e715f9d7ba3f"],
Cell[17740, 534, 325, 8, 63, "Input",ExpressionUUID->"1e6b2124-52c1-4df4-9531-f4de460b34e6"]
}, Closed]],
Cell[CellGroupData[{
Cell[18102, 547, 164, 3, 48, "Subsection",ExpressionUUID->"300e363a-6fa3-4506-a28e-0cc805060c32"],
Cell[18269, 552, 174, 3, 45, "Text",ExpressionUUID->"54817b92-b1d0-41b8-ba4d-4f48527812de"],
Cell[18446, 557, 338, 8, 62, "Input",ExpressionUUID->"b5d963c6-b4c9-4b23-a357-48cf17309d61"],
Cell[18787, 567, 844, 23, 169, "Input",ExpressionUUID->"114b89ed-032b-4645-8bf0-ec622e8e8b7f"],
Cell[19634, 592, 249, 4, 45, "Text",ExpressionUUID->"313b80ea-ba8c-4d2c-9156-68be22c8d474"],
Cell[CellGroupData[{
Cell[19908, 600, 539, 13, 93, "Input",ExpressionUUID->"c1be3eaf-0440-4a74-8b44-2d77aea22e8b"],
Cell[20450, 615, 1632, 49, 70, "Output",ExpressionUUID->"0b03e658-f1aa-4d7b-9f70-03a8551a57b3"]
}, Open ]],
Cell[22097, 667, 153, 3, 45, "Text",ExpressionUUID->"0dd4c4bf-990f-4363-a4d3-5d419d7ac1f9"],
Cell[22253, 672, 1688, 50, 134, "Input",ExpressionUUID->"723d2ab1-2464-4ea3-aa5a-01d47ff4c4bf"]
}, Closed]],
Cell[CellGroupData[{
Cell[23978, 727, 165, 3, 48, "Subsection",ExpressionUUID->"aca16a25-b56d-4c0a-add0-d30b160a349c"],
Cell[24146, 732, 1109, 28, 250, "Input",ExpressionUUID->"82f5f3c4-ae67-41e3-9ca7-f3d813c39c7e"],
Cell[CellGroupData[{
Cell[25280, 764, 1508, 41, 110, "Input",ExpressionUUID->"5ccced87-5f94-4bbd-991f-63eae327c52a"],
Cell[26791, 807, 2478, 50, 321, "Output",ExpressionUUID->"4c953d68-042f-4350-8ed7-100664874395"]
}, Open ]]
}, Closed]]
}, Closed]]
}, Closed]]
}
]
*)