// // Math.NET Numerics, part of the Math.NET Project // http://mathnet.opensourcedotnet.info // // Copyright (c) 2009 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the // Software is furnished to do so, subject to the following // conditions: // // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR // OTHER DEALINGS IN THE SOFTWARE. // namespace MathNet.Numerics { /// /// Scientific Constants /// /// /// public static class SiConstants { #region UNIVERSAL CONSTANTS /// Speed of Light in Vacuum: c_0 = 2.99792458e8 [m s^-1] (defined, exact; 2007 CODATA) public const double SpeedOfLight = 2.99792458e8; /// Magnetic Permeability in Vacuum: mu_0 = 4*Pi * 10^-7 [N A^-2 = kg m A^-2 s^-2] (defined, exact; 2007 CODATA) public const double MagneticPermeability = 1.2566370614359172953850573533118011536788677597500e-6; /// Electric Permittivity in Vacuum: epsilon_0 = 1/(mu_0*c_0^2) [F m^-1 = A^2 s^4 kg^-1 m^-3] (defined, exact; 2007 CODATA) public const double ElectricPermittivity = 8.8541878171937079244693661186959426889222899381429e-12; /// Characteristic Impedance of Vacuum: Z_0 = mu_0*c_0 [Ohm = m^2 kg s^-3 A^-2] (defined, exact; 2007 CODATA) public const double CharacteristicImpedanceVacuum = 376.73031346177065546819840042031930826862350835242; /// Newtonian Constant of Gravitation: G = 6.67429e-11 [m^3 kg^-1 s^-2] (2007 CODATA) public const double GravitationalConstant = 6.67429e-11; /// Planck's constant: h = 6.62606896e-34 [J s = m^2 kg s^-1] (2007 CODATA) public const double PlancksConstant = 6.62606896e-34; /// Reduced Planck's constant: h_bar = h / (2*Pi) [J s = m^2 kg s^-1] (2007 CODATA) public const double DiracsConstant = 1.054571629e-34; /// Planck mass: m_p = (h_bar*c_0/G)^(1/2) [kg] (2007 CODATA) public const double PlancksMass = 2.17644e-8; /// Planck temperature: T_p = (h_bar*c_0^5/G)^(1/2)/k [K] (2007 CODATA) public const double PlancksTemperature = 1.416786e32; /// Planck length: l_p = h_bar/(m_p*c_0) [m] (2007 CODATA) public const double PlancksLength = 1.616253e-35; /// Planck time: t_p = l_p/c_0 [s] (2007 CODATA) public const double PlancksTime = 5.39124e-44; #endregion #region ELECTROMAGNETIC CONSTANTS /// Elementary Electron Charge: e = 1.602176487e-19 [C = A s] (2007 CODATA) public const double ElementaryCharge = 1.602176487e-19; /// Magnetic Flux Quantum: theta_0 = h/(2*e) [Wb = m^2 kg s^-2 A^-1] (2007 CODATA) public const double MagneticFluxQuantum = 2.067833668e-15; /// Conductance Quantum: G_0 = 2*e^2/h [S = m^-2 kg^-1 s^3 A^2] (2007 CODATA) public const double ConductanceQuantum = 7.7480917005e-5; /// Josephson Constant: K_J = 2*e/h [Hz V^-1] (2007 CODATA) public const double JosephsonConstant = 483597.891e9; /// Von Klitzing Constant: R_K = h/e^2 [Ohm = m^2 kg s^-3 A^-2] (2007 CODATA) public const double VonKlitzingConstant = 25812.807557; /// Bohr Magneton: mu_B = e*h_bar/2*m_e [J T^-1] (2007 CODATA) public const double BohrMagneton = 927.400915e-26; /// Nuclear Magneton: mu_N = e*h_bar/2*m_p [J T^-1] (2007 CODATA) public const double NuclearMagneton = 5.05078324e-27; #endregion #region ATOMIC AND NUCLEAR CONSTANTS /// Fine Structure Constant: alpha = e^2/4*Pi*e_0*h_bar*c_0 [1] (2007 CODATA) public const double FineStructureConstant = 7.2973525376e-3; /// Rydberg Constant: R_infty = alpha^2*m_e*c_0/2*h [m^-1] (2007 CODATA) public const double RydbergConstant = 10973731.568528; /// Bor Radius: a_0 = alpha/4*Pi*R_infty [m] (2007 CODATA) public const double BohrRadius = 0.52917720859e-10; /// Hartree Energy: E_h = 2*R_infty*h*c_0 [J] (2007 CODATA) public const double HartreeEnergy = 4.35974394e-18; /// Quantum of Circulation: h/2*m_e [m^2 s^-1] (2007 CODATA) public const double QuantumOfCirculation = 3.6369475199e-4; /// Fermi Coupling Constant: G_F/(h_bar*c_0)^3 [GeV^-2] (2007 CODATA) public const double FermiCouplingConstant = 1.16637e-5; /// Weak Mixin Angle: sin^2(theta_W) [1] (2007 CODATA) public const double WeakMixingAngle = 0.22256; /// Electron Mass: [kg] (2007 CODATA) public const double ElectronMass = 9.10938215e-31; /// Electron Mass Energy Equivalent: [J] (2007 CODATA) public const double ElectronMassEnergyEquivalent = 8.18710438e-14; /// Electron Molar Mass: [kg mol^-1] (2007 CODATA) public const double ElectronMolarMass = 5.4857990943e-7; /// Electron Compton Wavelength: [m] (2007 CODATA) public const double ComptonWavelength = 2.4263102175e-12; /// Classical Electron Radius: [m] (2007 CODATA) public const double ClassicalElectronRadius = 2.8179402894e-15; /// Tomson Cross Section: [m^2] (2002 CODATA) public const double ThomsonCrossSection = 0.6652458558e-28; /// Electron Magnetic Moment: [J T^-1] (2007 CODATA) public const double ElectronMagneticMoment = -928.476377e-26; /// Electon G-Factor: [1] (2007 CODATA) public const double ElectronGFactor = -2.0023193043622; /// Muon Mass: [kg] (2007 CODATA) public const double MuonMass = 1.88353130e-28; /// Muon Mass Energy Equivalent: [J] (2007 CODATA) public const double MuonMassEnegryEquivalent = 1.692833511e-11; /// Muon Molar Mass: [kg mol^-1] (2007 CODATA) public const double MuonMolarMass = 0.1134289256e-3; /// Muon Compton Wavelength: [m] (2007 CODATA) public const double MuonComptonWavelength = 11.73444104e-15; /// Muon Magnetic Moment: [J T^-1] (2007 CODATA) public const double MuonMagneticMoment = -4.49044786e-26; /// Muon G-Factor: [1] (2007 CODATA) public const double MuonGFactor = -2.0023318414; /// Tau Mass: [kg] (2007 CODATA) public const double TauMass = 3.16777e-27; /// Tau Mass Energy Equivalent: [J] (2007 CODATA) public const double TauMassEnergyEquivalent = 2.84705e-10; /// Tau Molar Mass: [kg mol^-1] (2007 CODATA) public const double TauMolarMass = 1.90768e-3; /// Tau Compton Wavelength: [m] (2007 CODATA) public const double TauComptonWavelength = 0.69772e-15; /// Proton Mass: [kg] (2007 CODATA) public const double ProtonMass = 1.672621637e-27; /// Proton Mass Energy Equivalent: [J] (2007 CODATA) public const double ProtonMassEnergyEquivalent = 1.503277359e-10; /// Proton Molar Mass: [kg mol^-1] (2007 CODATA) public const double ProtonMolarMass = 1.00727646677e-3; /// Proton Compton Wavelength: [m] (2007 CODATA) public const double ProtonComptonWavelength = 1.3214098446e-15; /// Proton Magnetic Moment: [J T^-1] (2007 CODATA) public const double ProtonMagneticMoment = 1.410606662e-26; /// Proton G-Factor: [1] (2007 CODATA) public const double ProtonGFactor = 5.585694713; /// Proton Shielded Magnetic Moment: [J T^-1] (2007 CODATA) public const double ShieldedProtonMagneticMoment = 1.410570419e-26; /// Proton Gyro-Magnetic Ratio: [s^-1 T^-1] (2007 CODATA) public const double ProtonGyromagneticRatio = 2.675222099e8; /// Proton Shielded Gyro-Magnetic Ratio: [s^-1 T^-1] (2007 CODATA) public const double ShieldedProtonGyromagneticRatio = 2.675153362e8; /// Neutron Mass: [kg] (2007 CODATA) public const double NeutronMass = 1.674927212e-27; /// Neutron Mass Energy Equivalent: [J] (2007 CODATA) public const double NeutronMassEnegryEquivalent = 1.505349506e-10; /// Neutron Molar Mass: [kg mol^-1] (2007 CODATA) public const double NeutronMolarMass = 1.00866491597e-3; /// Neuron Compton Wavelength: [m] (2007 CODATA) public const double NeutronComptonWavelength = 1.3195908951e-1; /// Neutron Magnetic Moment: [J T^-1] (2007 CODATA) public const double NeutronMagneticMoment = -0.96623641e-26; /// Neutron G-Factor: [1] (2007 CODATA) public const double NeutronGFactor = -3.82608545; /// Neutron Gyro-Magnetic Ratio: [s^-1 T^-1] (2007 CODATA) public const double NeutronGyromagneticRatio = 1.83247185e8; /// Deuteron Mass: [kg] (2007 CODATA) public const double DeuteronMass = 3.34358320e-27; /// Deuteron Mass Energy Equivalent: [J] (2007 CODATA) public const double DeuteronMassEnegryEquivalent = 3.00506272e-10; /// Deuteron Molar Mass: [kg mol^-1] (2007 CODATA) public const double DeuteronMolarMass = 2.013553212725e-3; /// Deuteron Magnetic Moment: [J T^-1] (2007 CODATA) public const double DeuteronMagneticMoment = 0.433073465e-26; /// Helion Mass: [kg] (2007 CODATA) public const double HelionMass = 5.00641192e-27; /// Helion Mass Energy Equivalent: [J] (2007 CODATA) public const double HelionMassEnegryEquivalent = 4.49953864e-10; /// Helion Molar Mass: [kg mol^-1] (2007 CODATA) public const double HelionMolarMass = 3.0149322473e-3; #endregion } }