4 #include <gsl/gsl_const_mksa.h> 11 namespace gravitation {
15 inline static double G{ GSL_CONST_MKSA_GRAVITATIONAL_CONSTANT };
20 inline static constexpr
double g{ GSL_CONST_MKSA_GRAV_ACCEL };
21 inline static constexpr
double mass{ 5.9722e24 };
24 inline static constexpr
double radius{ 6378.137_km };
39 return 0.5 * mass * pow(velocity, 2);
The Mechanics struct Formeln aus der Mechanik.
static double kinetic_energy(double mass, double velocity)
kinetic_energy Hilfsfunktion
static double potential_energy(double mass, double height)
potential_energy Hilfsfunktion
static constexpr double g