Expand description
Physical constants as first-class Quantity values — each carries its dimension, so they
compose with units under the same dimensional algebra (E = m·c² type-checks, and c can be
asked for in kilometres_per_hour). The post-2019-SI defining constants are EXACT rationals
(the SI fixes their numeric values); measured constants (G) use their CODATA value.
Functions§
- avogadro_
constant - Avogadro constant,
N_A= 6.022 140 76 × 10²³ mol⁻¹ (exact). - boltzmann_
constant - Boltzmann constant,
k_B= 1.380 649 × 10⁻²³ J/K (exact). - elementary_
charge - Elementary charge,
e= 1.602 176 634 × 10⁻¹⁹ C (exact). - gravitational_
constant - Newtonian gravitational constant,
G= 6.674 30 × 10⁻¹¹ m³·kg⁻¹·s⁻² (CODATA measured value). - molar_
gas_ constant - Molar gas constant,
R = N_A · k_B= 8.314 462 618… J/(mol·K) (exact, a product of exacts). - planck_
constant - Planck constant,
h= 6.626 070 15 × 10⁻³⁴ J·s (exact). - speed_
of_ light - Speed of light in vacuum,
c= 299 792 458 m/s (exact). - standard_
atmosphere - Standard atmosphere,
atm= 101 325 Pa (exact by definition). - standard_
gravity - Standard gravity,
g₀= 9.806 65 m/s² (exact by definition).