Answer:
Note that GmM/r^2 = ma = MV^2/r
After dividing we have that the velocity of the spaceship will be
V = √GM/R
Now to find the mech. Energy,
But mechanical energy = 1/2 MV^2
Therefore mechanical energy of the spaceship will be
(a) mech. Energy= 1/2m(√GM/R)^2
(b) escape velocity V = √GM/R already calculated above.