Zephyr Scientific Library (zscilib)
|
Go to the documentation of this file.
22 #ifndef ZEPHYR_INCLUDE_ZSL_GRAVITATION_H_
23 #define ZEPHYR_INCLUDE_ZSL_GRAVITATION_H_
int zsl_phy_grav_orb_vel(zsl_real_t mp, zsl_real_t r, zsl_real_t *v)
Calculates the velocity of an object moving about a planet describing a circular orbit in meters per ...
int zsl_phy_grav_pot_ener(zsl_real_t m1, zsl_real_t m2, zsl_real_t r, zsl_real_t *u)
Calculates the gravitational potential energy between two objects in kilojoules based on their masses...
int zsl_phy_grav_acc(zsl_real_t m, zsl_real_t r, zsl_real_t *a)
Calculates the gravitational acceleration at any point created by an object of mass 'm' in meters per...
int zsl_phy_grav_force(zsl_real_t m1, zsl_real_t m2, zsl_real_t r, zsl_real_t *f)
Calculates the gravitational force between two objects in newtons based on their masses (m1 and m2) a...
int zsl_phy_grav_esc_vel(zsl_real_t mp, zsl_real_t r, zsl_real_t *v)
Calculates the velocity needed for an object to overcome the gravitational pull of the planet it is o...
int zsl_phy_grav_orb_period(zsl_real_t mp, zsl_real_t msat, zsl_real_t r, zsl_real_t *t)
Calculates the orbital period of a satelite orbiting another body in seconds based on the distance be...
API header file for zscilib.