|
EGXPhys
|
Functions | |
| template<typename T > | |
| T | EGXPhys::EscapeVelocity (const T distanceFromCenterOfMassInm, const T massOfBodyInkg) |
| Calculates the escape velocity, \(v_{e}\), the minimum speed needed for an object to escape from the gravitational influence of a massive body. \[v_{e}=\sqrt{\frac{2 G M}{r}}\] . More... | |
| T EGXPhys::EscapeVelocity | ( | const T | distanceFromCenterOfMassInm, |
| const T | massOfBodyInkg | ||
| ) |
Calculates the escape velocity, \(v_{e}\), the minimum speed needed for an object to escape from the gravitational influence of a massive body.
\[v_{e}=\sqrt{\frac{2 G M}{r}}\]
.
See https://en.wikipedia.org/wiki/Escape_velocity
| distanceFromCenterOfMassInm | \(r\ (m)\) Distance from center of mass of the massive body in meters. |
| massOfBodyInkg | \(M\ (kg)\) Mass of massive body in kilograms. |