EDIT: Subscripts were not working, changed algebraic symbols.
Ok, I had a little play with this. This was the result:
m = mass of the earth
o = mass of the object
a = acceleration towards the earth
v = velocity of the object (perpendicular to a)
G = gravitational constant
r =...