(a) Using mgh:
mgh=50×9.8×64000=3.136×107 J
Exactly, from r1=RE to r2=RE+h:
ΔU=GMEm(RE1−RE+h1)=1+h/REmgh=1.013.136×107=3.105×107 J
mgh=3.14×107 J; exact ΔU=3.10×107 J, about 1% smaller.
(b) mgh assumes that the gravitational force keeps its surface value mg over the whole climb. In fact the force weakens with height (as 1/r2), so less work is needed than mgh suggests. The exact value is correct. The fractional error is about h/RE; here h=RE/100, giving 1%. For heights of a few hundred metres the error is negligible, which is why mgh is used for everyday problems.