The moon can be modeled as a sphere of radius 1740 km and mass 7.44*10^22 kg. A rocket of mass m is fired vertically from the surface of the moon with speed 1.5 km/s. It may be assumed that all forces on the rocket other than the gravitational attraction of the moon can be ignored.
(c) Find the speed of the rocket when t is at a height of 10 km above the surface of the moon.
(d) Find the maximum distance from the moon’s surface reached by the rocket.
My workings:
(M=moon’s mass, m=rocket’s mass, all physical quantities in SI units)
(a)
If r is taken as distance from centre of moon, and denoted by x
So
Mr F says: I have deleted the negative.
At t=0, v=1.5*10^3, x=1740*10^3
Mr F says: I went to the trouble of finding that, after making the above corrections, k = -3454000. The rest of the corrections are left for you to make ....

Book’s answer: 1.49
(b)At v=0 x=1243004
But the radius of moon is 1740*10^3
So the answer is absurd, the maximum distance appears negative.
Is there some basic mistake here? Is my method correct? The first answer is quite close but the second one becomes ridiculous:S :help: