If I knowproject a body at a very large velocity such that g changes w.r.t.it reaches a height h which is comparable to Earth's radius, so I needthen how to integrate the totalderive an equation for 'h' in terms of initial velocity 'u' and other constants.
This is where I ended up with this problem
S = u²/2g
But g from ais variable with height as h approaches R
So dg = GM/(R+dr)² - radius of the earth to a height h.-- this is where I think I might be wrong
Hence dS = u²(R+dr)²/GM
So how do I go ahead?