Enter below a function using normal fortran notation (e.g., .5*g*x^2, note: "^" = "**" is OK; the mass of 1 amu is 1.66054E-27 kg = 1.66054 × 10-27 kg; trig functions like sin and asin = sin-1 = arcsin are designed for radian measure; sqrt(1/(mu0*epsilon0)))

f(x)=

Non-zero values of x:
x=
x=
x=
x=


Constants in MKS units:

speed of light: c = 2.9979 × 108 m/s

Charge on a proton: e = 1.6022 × 10-19 C    or esu = 4.8032 × 10-10

Planck's constant: h and h2= 6.6261 × 10-34 J·s or 4.1357 × 10-15 eV·s

Planck's constant divided by 2 pi: hbar = 1.0546 × 10-34 J·s

Conversion constant: hbar*c/e = 197.33 MeV·fm or eV·nm = 1.9733 × 10-7 eV·m

Electron mass: me and me2 = 9.1094 × 10-31 kg or 5.1100 × 105 MeV/c2

Proton mass: mp and mp2 = 1.6726 × 10-27 kg or 9.3827 × 108 MeV/c2

amu mass: amu and amu2 = 1.6605 × 10-27 kg or 9.3149 × 108 MeV/c2

permittivity of free space: epsilon0 = 8.8542 × 10-12 F/m

permeability of free space: mu0 = 1.2566 × 10-6 N/A2

fine structure constant: alpha = 7.2974 × 10-3

Bohr radius: a = 5.2918 × 10-11 m

Rydberg energy: Ry and Ry2 = 2.1799 × 10-18 J or 13.606 eV

Rydberg wavenumber constant: RH = 1.0974 × 107 m-1

Newton's gravitational constant: Gn = 6.6741 × 10-11 m3·kg-1·s-2

acceleration of gravity: g = 9.8066 m/s2

Avogadro's constant: Na = 6.0221 × 1023

Boltzmann's constant: Kb = 1.3806 × 10-23 J/K

Wien's displacement law constant: b = 2.8978 × 10-3 m·K

Stefan-Boltzmann constant: sigma = 5.6704 × 10-8 W·m-2·K-4

parsec: pc = 3.0857 × 1016 m

light year: Ly = c*year = 9.4605 × 1015 m

Astronomical unit: AU = 1.4960 × 1011 m

mass of Sun: Msun = 1.9885 × 1030 kg

radius of Sun: Rsun = 6.9570 × 108 m

Solar luminosity: Lsun = 3.8280 × 1026 W

mass of Earth: Mearth = 5.9724 × 1024 kg

radius of Earth: Rearth = 6.3781 × 106 m

quantized hall "resistance": h/e^2= 2.5813 × 104 Ohm

frequency of 1eV photon: e/h= 2.4180 × 1014 Hz

wavelength of 1eV photon: h*c/e= 1.2398 × 10-6 m

Temperature for kT = 1 eV: e/kb= 1.1605 × 104 K

1 eV per molecule = Na*e/4184 = 23.061 kcal/mole = Na*e/1000 = 96.485 kJ/mole

standard pressure: atm= 1.0132 × 105 N/m2

gas constant: R = Na*kb = 8.3145 J/K

year: year = 3.1557 × 107 seconds