Documentation / @interstellar-tools/constants / G_SI
Variable: G_SI
ts
const G_SI: number = 6.6743e-11;Defined in: physics.ts:24
Gravitational constant G in SI units.
Numerical value from CODATA 2018: 6.67430 × 10⁻¹¹ m³·kg⁻¹·s⁻² (relative standard uncertainty 2.2e-5). Use this for Newtonian gravity calculations:
Default
ts
6.6743e-11;See
Example
ts
// Standard gravitational parameter (mu) for Earth:
const M_earth = 5.97219e24; // kg
const mu_earth = G_SI * M_earth; // ≈ 3.986004e14 m³/s²