The Escape velocity is the initial speed required
for a projectile to escape from a massive body to a point at
infinity.

If we consider the projectile having mass *m*, and the
central body having mass *M*, this velocity can be obtained
imposing that the initial kinetic energy must be equal to the
potential energy of the mass *M* at a distance r:

Solving for v we obtain the escape velocity: