## anonymous 4 years ago so to get the initial horizon velocity in order to make it keep orbiting the earth regardless of other force except gravity:

1. anonymous

g=mv²/r sqrt(g*r)=v is that the velocity ?

2. anonymous

mg is an approximation of the gravitational force near the earth's surface. In reality, $F_g = G\frac{Mm}{r^2}$ Though since I'm not sure what you're asking, I'm not sure if that answers your question...

3. anonymous

yes, in your equation v = velocity

4. anonymous

i am making a model, object move base on x and y coordinate system. Gravity = 0.98, resvx = horizontal velocity, resvy = vertical velocity resax=horizontal acceleration and resay = vertical accleration. to make the object move i use this code: x +=resvx to make it acclerate, i use this code: x+=resvx resvx+=resax that apply on y too. but the result came out is the bullet was moving circularly around the earth and the radius getting bigger and off the view. i will try to publish that thing out

5. anonymous

You're trying to simulate orbital motion?

6. anonymous

i am not sure that your equation is corect

7. anonymous

The force of gravity is not constant, first of all...

8. anonymous

it is jsut a simple game base , the coordinate system is a bit weird, the y axis is grom up to down. "p" to slow it down or make it fast again. "spacebar" to take snapshot, "r" for restart game. click the green box to shoot the bullet. The variable 'r' mean radius, only updated as the bullet is created. What is the bug cause my bullet fly off the earth??

9. anonymous

sorry i posted the old one, here the newer which print more info