function gravity
devtools/src/dossier.ts:1437
gravity(mass: number, radius: number) → number
Surface gravity of a sphere of this mass and radius, m/s².
GRAVITATIONAL_CONSTANT rather than a literal, because body.mu — which the
escape-velocity row beside this one uses — is GRAVITATIONAL_CONSTANT × mass
from universe. Two spellings of G in adjacent rows agree only by the digits
happening to match, and a CODATA revision would move one and not the other.
- massnumber
- Undocumented
- radiusnumber
- Undocumented
Returnsnumber