A space vehicle approaching a planet has a speed v, when it is very far from the planet. At that moment tangent of its trajectory would miss the centre of the planet by distance R. If the planet has mass M and radius r, what is the smallest value of R in order that the resulting orbit of the space vehicle will just miss the surface of the planet?