# Constant

public enum Constant : String

A list of important mathematical and physical constants

•  alphaParticleMass 

The mass in kg of alpha particles

#### Declaration

Swift

case alphaParticleMass = "6.64465675e-27"
•  atomicMass 

The mass in kg of an atom (see Wikipedia for more info)

#### Declaration

Swift

case atomicMass = "1.660538921e-27"
•  Avogadro 

Avogadro constant in mol^(-1)

#### Declaration

Swift

case Avogadro = "6.02214129e23"
•  Boltzmann 

Boltzmann constant in J/K

#### Declaration

Swift

case Boltzmann = "1.3806488e-23"
•  conductanceQuantum 

Quantized unit of electrical conductance in S

#### Declaration

Swift

case conductanceQuantum = "7.7480917346e-5"
•  e 

The mathematical constant

#### Declaration

Swift

case e = "2.7182818284590"
•  earth_moon 

Earth to moon distance in km

#### Declaration

Swift

case earth_moon = "384401"
•  earth_sun 

Earth to sun distance in km

#### Declaration

Swift

case earth_sun = "1.496e8"
•  earthMass 

Earth mass in kg

#### Declaration

Swift

case earthMass = "5.974e+24"
•  earthRadius 

Earth radius in km

#### Declaration

Swift

case earthRadius = "6371"
•  electric 

Vacuum permittivity in F/m

#### Declaration

Swift

case electric = "8.854187e-12"
•  electronMass 

Electron mass in kg

#### Declaration

Swift

case electronMass = "9.10938291e-31"
•  elementaryCharge 

Elementary charge in C

#### Declaration

Swift

case elementaryCharge = "1.602176565e-19"
•  EulerGamma 

Euler–Mascheroni Gamma constant

#### Declaration

Swift

case EulerGamma = "0.57721566490153286"
•  Faraday 

Faraday constant in C/mol

#### Declaration

Swift

case Faraday = "96485.3365"
•  fineStructure 

Fine structure constant

#### Declaration

Swift

case fineStructure = "7.2973525698e-3"
•  goldenRatio 

Golden ratio

#### Declaration

Swift

case goldenRatio = "1.61803398874989484820"
•  gravity 

Standard acceleration due to gravity constant in m/s^2

#### Declaration

Swift

case gravity = "9.80665"
•  inverseFineStructure 

Invverse of fine structure constant

#### Declaration

Swift

case inverseFineStructure = "137.035999074"
•  magnetic 

Vacuum permeability in H/m

#### Declaration

Swift

case magnetic = "1.25663706212e-6"
•  magneticFluxQuantum 

Magnetic flux quantum constant in Wb

#### Declaration

Swift

case magneticFluxQuantum = "2.067833758e-15"
•  molarGas 

Gas constant in J/K/mol

#### Declaration

Swift

case molarGas = "8.3144621"
•  moonMass 

Mass of the moon in kg

#### Declaration

Swift

case moonMass = "7.348e22"
•  moonRadius 

Moon radius in km

#### Declaration

Swift

case moonRadius = "1738"
•  neutronMass 

Mass of neutron in kg

#### Declaration

Swift

case neutronMass = "1.674927351e-27"
•  NewtonGravitation 

Newton’s gravitational constant in m3⋅kg−1⋅s−2

#### Declaration

Swift

case NewtonGravitation = "6.67384e-11"
•  pi 

The mathematical constant

#### Declaration

Swift

case pi = "3.14159265358979323846"
•  Planck 

Planck constant in J s

#### Declaration

Swift

case Planck = "6.62606957e-34"
•  proton_electronMassRatio 

Proton mass divided by electron mass

#### Declaration

Swift

case proton_electronMassRatio = "1836.15267245"
•  proton_neutronMassRatio 

Proton mass divided by neutron mass

#### Declaration

Swift

case proton_neutronMassRatio = "0.99862347826"
•  protonMass 

Proton mass in kg

#### Declaration

Swift

case protonMass = "1.672621777e-27"
•  Rydberg 

Rydberg constant in m^(-1)

#### Declaration

Swift

case Rydberg = "10973731.568539"
•  speedOfLight 

Speed of light in m/s

#### Declaration

Swift

case speedOfLight = "299792458"
•  speedOfSound 

Speed of sound in m/s

#### Declaration

Swift

case speedOfSound = "340.27"
•  sqrt2 

The square root of 2

#### Declaration

Swift

case sqrt2 = "1.41421356237309504880"
•  Stefan_Boltzmann 

Stefan-Boltzmann constant in W m^(-2) K^(-4)

#### Declaration

Swift

case Stefan_Boltzmann = "5.670373e-8"
•  sunMass 

Mass of the sun in kg

#### Declaration

Swift

case sunMass = "1.989e30"
•  sunRadius 

Sun’s radius in km

#### Declaration

Swift

case sunRadius = "695500"
•  TheRockMass 

Dwayne Johnson’s mass. Can’t mathematician have the sense of humour?

#### Declaration

Swift

case TheRockMass = "124.73790175"
•  ThomsonCrossSection 

Thomson Cross Section constant in m^2

#### Declaration

Swift

case ThomsonCrossSection = "0.6652458734e-28"
•  UltimateAnswer 

The Answer to the Ultimate Question of Life, the Universe, and Everything.

#### Declaration

Swift

case UltimateAnswer = "42"
•  zeroKelvin 

The coldest temperature in the universe in C

#### Declaration

Swift

case zeroKelvin = "-273.15"