(*ASYMMETRICALTETHERMODEL*)
Out[]=
{50000,50000,50000,1000,1000,5000,970,0.00006283,0.5,0.5,0.5,3.98778×,5000000}
14
10
Out[]=
0.00447207
Out[]=
86400
(Dialog) In[]:=
(*INPUTPARTSREQUIREDTOCREATEKINEICANDPOTENITALENERGYEQUATIONS*)[t]=√((R[t])^2+^2+2*R[t]**(Sin[θ[t]]*Sin[ψ[t]]+Cos[θ[t]]*Cos[ψ[t]]));[t]=√((R[t])^2+^2+2*R[t]**(Sin[θ[t]]*Sin[ψ[t]]+Cos[θ[t]]*Cos[ψ[t]]));[t]=√(R[t])^2+(-)^2+2*R[t]*(-)*(Sin[θ[t]]*Sin[ψ[t]]+Cos[θ[t]]*Cos[ψ[t]]);[t]=√((R[t])^2+(/2)^2+R[t]**(Sin[θ[t]]*Sin[ψ[t]]+Cos[θ[t]]*Cos[ψ[t]]));[t]=√((R[t])^2+(/2)^2+R[t]**(Sin[θ[t]]*Sin[ψ[t]]+Cos[θ[t]]*Cos[ψ[t]]));=(*^2)2;=(*^2)2;=(*^2)/2;=ρ*A**(3*rt^2+^2)/12;=ρ*A**(3*rt^2+^2)/12;(*KINETICENERGYEQUATION*)T=(*('[t])^2)2+(*('[t])^2)2+((*('[t])^2)/2)+((ρ*A**('[t])^2)/2)+((ρ*A**('[t])^2)/2)+++++*(ψ'[t]+θ'[t])^22;TraditionalForm[T](*POTENTIALENERGYEQUATION*)n=3;U=-(μ*)))√(((R[t])^2)+((-)^2)+(2*R[t]*(-)*Cos[ψ[t]]))-(μ*ρ*A*)n*++*Cos[ψ[t]]-(μ*ρ*A*)n*+-*Cos[ψ[t]];TraditionalForm[U]
R
p1
L
1
L
1
R
p2
L
2
L
2
R
m
L
p2
L
2
L
p2
L
2
R
t1
L
1
L
1
R
t1
L
2
L
2
i
p1
M
p1
r
p1
i
p2
M
p2
r
p2
i
m
M
m
r
m
i
t1
L
1
L
1
i
t2
L
2
L
2
M
p1
R
p1
M
p2
R
p2
M
m
R
m
L
1
R
t1
L
2
R
t2
i
p1
i
p2
i
m
i
t1
i
t2
M
p1
((R[t])^2)+(^2)+(2*R[t]**Cos[ψ[t]])
-(μ*L
1
L
1
M
p2
((R[t])^2)+(^2)+(2*R[t]**Cos[ψ[t]])
-(μ*L
2
L
2
M
m
L
p2
L
2
L
p2
L
2
n
∑
j=1
L
1
2
(R[t])
2
((2*j)-1)*
L
1
(2*n)
2*R[t]**((2*j)-1)
L
1
2*n
n
∑
j=1
L
2
2
(R[t])
2
((2*j)-1)*
L
2
(2*n)
2*R[t]**((2*j)-1)
L
2
2*n
(Dialog) Out[]//TraditionalForm=
1250(t)+250(t)+250(t)+761.814(t)+761.814(t)+7.93556×
2
′
R
m
2
′
R
p1
2
′
R
p2
2
′
R
t1
2
′
R
t2
10
10
2
((t)+(t))
′
θ
′
ψ
(Dialog) Out[]//TraditionalForm=
----R(t)cos(ψ(t))++--R(t)cos(ψ(t))++--
2.0253×
17
10
-R(t)cos(ψ(t))++
125000
3
2
R(t)
3906250000
9
2.0253×
17
10
-25000R(t)cos(ψ(t))++156250000
2
R(t)
2.0253×
17
10
-R(t)cos(ψ(t))++
25000
3
2
R(t)
156250000
9
2.0253×
17
10
25000
3
2
R(t)
156250000
9
2.0253×
17
10
25000R(t)cos(ψ(t))++156250000
2
R(t)
2.0253×
17
10
125000
3
2
R(t)
3906250000
9
3.98778×
17
10
50000R(t)cos(ψ(t))++625000000
2
R(t)
9.96946×
17
10
2
R(t)
(Dialog) In[]:=
(*CONSTRUCTINGLAGRANGEEQUATIONS*)Clear[eqn1,eqn2,eqn3]=D[T,ψ'[t]];=D[,t];=D[T,ψ[t]];=D[U,ψ[t]];eqn1=-+-τ;TraditionalForm[eqn1](*ConstructingtheEoMinR[t]*)=D[T,R'[t]];=D[,t];=D[T,R[t]];=D[U,R[t]];eqn2=-+;TraditionalForm[%](*ConstructingtheEoMinθ[t]*)=D[T,θ'[t]];=D[,t];=D[T,θ[t]];=D[U,θ[t]];eqn3=-+;TraditionalForm[%]
R
1
R
2
R
1
R
3
R
4
R
2
R
3
R
4
R
5
R
6
R
5
R
7
R
8
R
6
R
7
R
8
R
9
R
10
R
9
R
11
R
12
R
10
R
11
R
12
(Dialog) Out[]//TraditionalForm=
4.21937×R(t)sin(ψ(t))
21
10
3/2
-R(t)cos(ψ(t))++
125000
3
2
R(t)
3906250000
9
2.53162×R(t)sin(ψ(t))
21
10
3/2
(-25000R(t)cos(ψ(t))++156250000)
2
R(t)
8.43875×R(t)sin(ψ(t))
20
10
3/2
-R(t)cos(ψ(t))++
25000
3
2
R(t)
156250000
9
8.43875×R(t)sin(ψ(t))
20
10
3/2
R(t)cos(ψ(t))++
25000
3
2
R(t)
156250000
9
2.53162×R(t)sin(ψ(t))
21
10
3/2
(25000R(t)cos(ψ(t))++156250000)
2
R(t)
4.21937×R(t)sin(ψ(t))
21
10
3/2
R(t)cos(ψ(t))++
125000
3
2
R(t)
3906250000
9
9.96946×R(t)sin(ψ(t))
21
10
3/2
(50000R(t)cos(ψ(t))++625000000)
2
R(t)
11
10
′′
θ
′′
ψ
(Dialog) Out[]//TraditionalForm=
1.01265×2R(t)-cos(ψ(t))
17
10
125000
3
3/2
-R(t)cos(ψ(t))++
125000
3
2
R(t)
3906250000
9
1.01265×(2R(t)-25000cos(ψ(t)))
17
10
3/2
(-25000R(t)cos(ψ(t))++156250000)
2
R(t)
1.01265×2R(t)-cos(ψ(t))
17
10
25000
3
3/2
-R(t)cos(ψ(t))++
25000
3
2
R(t)
156250000
9
1.01265×2R(t)+cos(ψ(t))
17
10
25000
3
3/2
R(t)cos(ψ(t))++
25000
3
2
R(t)
156250000
9
1.01265×(2R(t)+25000cos(ψ(t)))
17
10
3/2
(25000R(t)cos(ψ(t))++156250000)
2
R(t)
1.01265×2R(t)+cos(ψ(t))
17
10
125000
3
3/2
R(t)cos(ψ(t))++
125000
3
2
R(t)
3906250000
9
1.99389×(2R(t)+50000cos(ψ(t)))
17
10
3/2
(50000R(t)cos(ψ(t))++625000000)
2
R(t)
9.96946×R(t)
17
10
3/2
()
2
R(t)
(Dialog) Out[]//TraditionalForm=
1.58711×((t)+(t))
11
10
′′
θ
′′
ψ
(Dialog) In[]:=
(*CONSTANTSDEFININGPROBLEM*){,,,,,,ρ,A,,,,μ,τ}=25000,25000,25000,500,500,2500,970,62.83*,0.5,0.5,0.5,3.9877848*,5000000;rt=;=86400;vars={ψ,R,θ};domain=Reals;equations={eqn1==0,eqn2==0,eqn3==0};If[AllTrue[equations,Head[#]===Equal&],Print["eqns are valid"],Print["eqns not valid"]];s=NDSolve[{eqn1==0,eqn2==0,eqn3==0,ψ[0]==0,ψ'[0]0,R[0]35000000,R'[0]0,θ[0]97.1877,θ'[0]0.000093742},{ψ,R,θ},{t,0,},MaxStepsInfinity,AccuracyGoalAutomatic,PrecisionGoalAutomatic](*Extractthesolutionsol={ψ[t],R[t],θ[t]}/.First@s;(*Definetheresidualfunction*)residualFunction[t_?NumericQ]:={eqn1,eqn2,eqn3}/.Thread[{ψ[t],R[t],θ[t]}->sol]//Norm;EvaluatetheresidualfunctionatdifferentpointsresidualValues=Table[residualFunction[t],{t,0,,0.1}];AnalyzethebehavioroftheresidualvaluesListLinePlot[residualValues,DataRange->{0,}]*)(*:=NMaximize[{Evaluate[R[t]/.s[[1]]],(-20000)<t<},t];:=NMinimize[{Evaluate[R[t]/.s[[1]]],(-20000)<t<},t];e=(-)/(+);First[e](*2*First[e]isthewaytouseeinlatercalculations*)Plot[Evaluate[ψ[t]/.s],{t,0,},FrameTrue,FrameTicksAutomatic,GridLinesAutomatic,FrameLabel{time,"ψ[t] (rad)"}]Plot[Evaluate[ψ'[t]/.s],{t,0,},FrameTrue,FrameTicksAutomatic,GridLinesAutomatic,FrameLabel{time,"ψ'[t] (rad/s)"}]PlotEvaluate[(0.001*L*ψ'[t])/.s],{t,0,},FrameTrue,FrameTicksAutomatic,GridLinesAutomatic,FrameLabeltime,"[t] (km/s)"Plot[Evaluate[(0.000000001**L*((ψ'[t])^2)/A)/.s],{t,0,},FrameTrue,FrameTicksAutomatic,GridLinesAutomatic,FrameLabel{time,"[t] (GPa)"}]Plot[Evaluate[(0.001*R[t])/.s],{t,0,},FrameTrue,FrameTicksAutomatic,GridLinesAutomatic,FrameLabel{time,"R[t] (km)"}]Plot[Evaluate[(0.001*R'[t])/.s],{t,0,},FrameTrue,FrameTicksAutomatic,GridLinesAutomatic,FrameLabel{time,"R'[t] (km/s)"}]Plot[Evaluate[θ[t]/.s],{t,0,},FrameTrue,FrameTicksAutomatic,GridLinesAutomatic,FrameLabel{time,"θ[t] (rad)"}]Plot[Evaluate[θ'[t]/.s],{t,0,},FrameTrue,FrameTicksAutomatic,GridLinesAutomatic,FrameLabel{time,"θ'[t] (rad/s)"}]Plot[Evaluate[(*L*((ψ'[t])^2)+(ρ*A*(L^2)/2)*((ψ'[t])^2))/.s],{t,0,},FrameTrue,FrameTicksAutomatic,GridLinesAutomatic,FrameLabel{time,"[t] (N)"}]*)
L
1
L
2
L
p2
M
p1
M
p2
M
m
r
p1
r
p2
r
m
-6
10
14
10
A
π
t
end
t
end
t
end
t
end
R
apo
t
end
t
end
R
per
t
end
t
end
R
apo
R
per
R
apo
R
per
t
end
t
end
t
end
V
pay
M
p
t
end
σ
cent
t
end
t
end
t
end
t
end
M
p
t
end
F
cent