|
EGXPhys
|
Functions | |
| template<typename T > | |
| T | EGXPhys::SurfaceGravityInmPersSquared (const T massInkg, const T meanRadiusInm) |
| Calculates the surface gravity, \(g\), of a celestial body in meters per second squared. The surface gravity is a product of the gravitational constant, \(G\), as well as the mass, \(M\), and mean radius, \(r\), of the celestial body: \[g = \frac{GM}{r^2}\] . More... | |
| template<typename T > | |
| T | EGXPhys::SurfaceGravityIng (const T massInkg, const T meanRadiusInm) |
| Calculates the surface gravity, \(g\), of a celestial body in gs (Earth's gravity). The surface gravity is a product of the gravitational constant, \(G\), as well as the mass, \(M\), and mean radius, \(r\), of the celestial body: \[g = \frac{GM}{g_{Earth}r^2}\] . More... | |
| T EGXPhys::SurfaceGravityIng | ( | const T | massInkg, |
| const T | meanRadiusInm | ||
| ) |
Calculates the surface gravity, \(g\), of a celestial body in gs (Earth's gravity). The surface gravity is a product of the gravitational constant, \(G\), as well as the mass, \(M\), and mean radius, \(r\), of the celestial body:
\[g = \frac{GM}{g_{Earth}r^2}\]
.
See https://en.wikipedia.org/wiki/Surface_gravity and https://en.wikipedia.org/wiki/Gravity_of_Earth
| massInkg | \(M\ (kg)\) Mass of celestial body in kilograms. |
| meanRadiusInm | \(r\ (m)\) Mean radius of celestial body in meters. |
| T EGXPhys::SurfaceGravityInmPersSquared | ( | const T | massInkg, |
| const T | meanRadiusInm | ||
| ) |
Calculates the surface gravity, \(g\), of a celestial body in meters per second squared. The surface gravity is a product of the gravitational constant, \(G\), as well as the mass, \(M\), and mean radius, \(r\), of the celestial body:
\[g = \frac{GM}{r^2}\]
.
See https://en.wikipedia.org/wiki/Surface_gravity and https://en.wikipedia.org/wiki/Gravity_of_Earth
| massInkg | \(M\ (kg)\) Mass of celestial body in kilograms. |
| meanRadiusInm | \(r\ (m)\) Mean radius of celestial body in meters. |