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 distance meters from a body with a mass of attractor_mass would fall toward that body.