I am writing a program to do some orbital simulations. For ease of conversation, lets start with the sun and the earth. If the earth were standing still, the sun would pull it in quite rapidly. As the earth is moving at about 1.47 kilometers per second, that movement creates a force opposing the suns gravity. How do I calculate that force?