Module pygravity.math
Common math functions for pygravity
Constants
GRAVITATIONAL_CONSTANT
Functions
acceleration_due_to_gravity(attractor_mass: float, distance: float) -> float
Functions
def acceleration_due_to_gravity(attractor_mass: float, distance: float) ‑> float-
Calculate the speed that a body
distancemeters from a body with a mass ofattractor_masswould fall toward that body.