Spaces:
Sleeping
Sleeping
File size: 1,042 Bytes
05354e5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # ------------------------------------------------------
# Fundamental constants
# ------------------------------------------------------
HBAR = 1.054571817e-34 # Reduced Planck constant (J·s)
PLANCK = 6.62607015e-34 # Full Planck constant (J·s)
MASS_ELECTRON = 9.10938356e-31 # Electron mass (kg)
E_CHARGE = 1.602176634e-19 # Electron charge magnitude (C)
# ------------------------------------------------------
# Length scale constants
# ------------------------------------------------------
BOHR_RADIUS = 5.29177210903e-11 # Bohr radius (m)
# ------------------------------------------------------
# Energy conversions
# ------------------------------------------------------
J_TO_EV = 1 / E_CHARGE # Joules → eV
EV_TO_J = E_CHARGE # eV → Joules
# ------------------------------------------------------
# Hydrogen potentials constant
# ------------------------------------------------------
COULOMB_CONSTANT = 1 / (4 * 3.141592653589793 * 8.8541878128e-12)
|