- #36
Yukterez
- 85
- 14
If you use Mathematica you can automatically differentiate r'[t], θ'[t] and ψ'[t] (which are defined in the differential equation) withedguy99 said:Do you have any suggestions to assist in understanding how to calculate the x/y/z force on each particle for each frame using your linked equations?
Evaluate[r''[t] /. sol][[1]]
Evaluate[θ''[t] /. sol][[1]]
Evaluate[ψ''[t] /. sol][[1]]
to get the second (proper) time derivative of the motion. The transformation from r, θ, ψ components to x, y, z components is
x = r Sin[θ] Cos[ψ])
y = r Sin[θ] Sin[ψ]
z = r Cos[θ]