I want to be able to map the position of a planet given initial position, velocity, and acceleration.(adsbygoogle = window.adsbygoogle || []).push({});

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!

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Need help solving a differential equation for orbit.

**Physics Forums | Science Articles, Homework Help, Discussion**