8 × 106 m from the centre of the Earth
Velocity of the rocket, v = 5 km/s = 5 × 103 m/s
Total energy of the rocket = Kinetic energy + Potential energy
From the law of conservation of energy, we have
Total energy of the rocket at the Earth’s surface = Total energy at height h
Height achieved by the rocket with respect to the centre of the Earth