The general problem I'm having is that acceleration is in terms of distance, and distance is in terms of acceleration. How can O find the exact position of masses in space given Newtonian gravity. Also, the acceleration, and thus instantaneous velocity is constantly changing. In summary how do I calculate the exact position of masses due to gravity.