- #1
ScienceVSmath
- 2
- 0
I want to be able to map the position of a planet given initial position, velocity, and acceleration.
I know the equation for Gravitational force (Newtonian) is: F=-GMm/r^2
Using Newtons second law this gives: m(d^2x/dt^2)=-GMm/x^2
Then simple Algebra yields: (d^2x/dt^2)+GM/x^2=0
I understand you need initial conditions to solve this problem, so I'm going to say that
x(0)=a
x'(0)=b
x''(0)=c
Thank you very much to anyone who helps me out with this!
I know the equation for Gravitational force (Newtonian) is: F=-GMm/r^2
Using Newtons second law this gives: m(d^2x/dt^2)=-GMm/x^2
Then simple Algebra yields: (d^2x/dt^2)+GM/x^2=0
I understand you need initial conditions to solve this problem, so I'm going to say that
x(0)=a
x'(0)=b
x''(0)=c
Thank you very much to anyone who helps me out with this!