Calculating height achieved under changing gravitional field

For some reason, this is alluding me at the moment. We know the gravitional acceleration equation is g = GM/r^2, integrate that in respect to r to yield -GM/r

I thought I could use

?Y = VoT + .5AT^2

and subsitute GM(-1/Ro + 1/R) into A

For some reason this is not working, is my line of reasoning correct?
 PhysOrg.com physics news on PhysOrg.com >> Study provides better understanding of water's freezing behavior at nanoscale>> Soft matter offers new ways to study how ordered materials arrange themselves>> Making quantum encryption practical

Mentor
Blog Entries: 1
 Quote by relativitydude We know the gravitional acceleration equation is g = GM/r^2, integrate that in respect to r to yield -GM/r
Not exactly:
$$g = dv/dt = - GM/r^2$$
$$v dv/dr = - GM/r^2$$
Now you can integrate with respect to r:
$$v^2/2 = GM/r + C$$

 I thought I could use ?Y = VoT + .5AT^2
That's only good for uniformly accelerated motion.
 For some reason this is not working, is my line of reasoning correct?
No. What problem are you trying to solve? The height of a projectile as a function of time? That's not so simple.
 Thank you very much! :)