A rocket is launched vertically from the surface of the earth of radius R with an initial speed v. If atmospheric resistance is neglected, the maximum height attained by the rocket is given by