The kinetic energy needed to project a body of mass m from the earth's surface (radius R ) to infinity is
mgR2
2mgR
mgR
mgR4
−GMmR+(KE)min=0+0⇒(KE)min=GMmR=mGMR2R=mgR