DEFINE command

Syntax: | `DEFINE`
Qualifiers: | `/CONSTANTS`
Defaults: | `/CONSTANTS`

The `DEFINE` command, with no qualifiers or with the `\CONSTANTS` qualifier, defines many mathematical and physical constants as scalar variables.

Name | Value | Description
ALPHAMASS | `6.64465598e-27` | alpha particle mass (kg)
ALPHAMASSMEV | `3727.37904` | alpha particle mass (MeV)
AVOGADRO | `6.02214199e23` | Avogadro's constant (1/mol)
BOHRRADIUS | `0.5291772083e-10` | Bohr radius (m)
BOLTZMANN | `1.3806503e-23` | Boltzmann constant (J/K)
ELECTRONRADIUS | `2.817940285e-15` | classical electron radius (m)
COMPTON | `2.426310215e-12` | Compton wavelength (m)
DEUTERONMASS | `3.34358309e-27` | deuteron particle mass (kg)
DEUTERONMASSMEV | `1875.612762` | deuteron particle mass (MeV)
ELECTRONMASS | `9.10938188e-31` | electron particle mass (kg)
ELECTRONMASSMEV | `0.510998902` | electron particle mass (MeV)
ELECTRONVOLT | `1.602176462e-19` | electron volt (J)
ELECTRONCHARGE | `1.602176462e-19` | charge on electron (C)
FARADAY | `96485.3415` | Faraday constant (C/mol)
FERMICOUPLING | `1.16639e-5` | Fermi coupling constant (1/GeV2)
FINESTRUCTURE | `7.297352533e-3` | fine-structure constant ()
MAGNETIC | `12.566370614e-7` | magnetic constant (N/A2)
NEUTRONMASS | `1.67492716e-27` | neutron particle mass (kg)
NEUTRONMASSMEV | `939.565330` | neutron particle mass (MeV)
GRAVITATION | `6.673e-11` | Newtonian constant of gravitation (m3/kg/s2)
PLANCK | `6.62606876e-34` | Planck's constant (J s)
HBAR | `1.05457266e-34` | Planck's constant, reduced (J s)
PROTONMASS | `1.67262158e-27` | proton particle mass (kg)
PROTONMASSMEV | `938.271998` | proton particle mass (MeV)
RYDBERG | `10973731.568549` | Rydberg constant (1/m)
LIGHTSPEED | `299792458` | speed of light in a vacuum (m/s)
GRAVITYACC | `9.80665` | standard acceleration of gravity (m/s2)
ATMOSPHERE | `101325` | standard atmosphere (Pa)
STEFANBOLTZMANN | `5.670400e-8` | Stefan-Boltzmann constant (W/m2/K4)
THOMSON | `0.665245854e-28` | Thomson cross section (m2)
AMASS | `1.66053873e-27` | unified atomic mass unit (kg)
PI | `3.14159265358979323846` | pi
EARTHRADIUS | `6.378140e6` | radius of the earth at the equator (m)
AU | `1.4959787066e11` | astronomical unit (m)
EARTHMASS | `5.97370e24` | mass of the earth (kg)
E | `2.718281828459045235` | natural logarithm base
PARSEC | `3.0856775807e16` | parsec (m)
SUNMASS | `1.98892e30` | mass of the sun (kg)
SUNRADIUS | `6.96e8` | radius of the sun at the equator (m)