- Notifications
You must be signed in to change notification settings - Fork0
Mathematical and Physical Constants in Cosmology and micro physics (updated SI CIPM CODATA 2019)
License
LaGuer/MathPhysicalConstants.jl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
OS | Documentation | Build Status | Code Coverage |
---|---|---|---|
Linux | |||
OSX | |||
Windows | |||
BSD |
MathPhysicalConstants is a Julia package which has the values of a range of mathematical and physical constants updated with most recent available dataset from BIPM in 2018. CurrentlyMKS andCGS units andInternational System of Units. Updated CODATA 2017 and redefinition of SI base units followingISU, BIPM, CGPM, CIPM approved resolutions and scheduled to come into force on 20 May 2019.Seehttps://en.wikipedia.org/wiki/2019_redefinition_of_SI_base_units
The package can be installed directly from itsgithub repository:
Pkg.clone("https://github.com/LaGuer/MathPhysicalConstants.jl")
Usage is pretty straightforward. Start off by loading the package.
julia> using MathPhysicalConstants
Query and retrieve the Planck Constant using the most updated International System of Units (SI)
julia> MathPhysicalConstants.SI.PlanckConstantH6.62607015e-34julia> big(MathPhysicalConstants.SI.PlanckConstantH)6.62606895999999960651234296395253273824527450725424150396117674176417443843193e-34
Let's have a look athttps://en.wikipedia.org/wiki/Compton_wavelength ƛe ≡ ħ/m_e.c the reduced Compton electron wavelength radius formula. Try it with BigFloat and Measurement
julia> big(MathPhysicalConstants.SI.PlanckConstantHbar)/(big(MathPhysicalConstants.SI.MassElectron)*big(MathPhysicalConstants.SI.SpeedOfLight))2.42631027637202010003687587191357482878156204816578736228540160944126721996979e-12
Now let's have a look athttps://en.m.wikipedia.org/wiki/Age_of_the_universe determined with the following equation: R_H = 2ħ^2/(G.m_e.m_p.m_n) as described inhttps://fr.wikipedia.org/wiki/Analyse_dimensionnelle#Cosmologie:_Rayon_de_Hubble
julia> R3mn=(2*SI.PlanckConstantHbar^2)/(SI.SanchezGravitationalConstant*SI.MassElectron*SI.MassProton*SI.MassNeutron)1.3056254088279212e26
One converts the result in Gly with SI.GigaLightYear:
julia> 1.3056254088279212e26/SI.GigaLightYear13.800754843601865
Other examples of MathPhysicalConstantsLet's switch to Earth's gravitational acceleration in MKS units.
julia> MathPhysicalConstants.MKS.GravAccel9.80665
Or in CGS units.
julia> MathPhysicalConstants.CGS.GravAccel980.665
last but not least in International System of Units (SI)
julia> MathPhysicalConstants.SI.GravAccel9.80665
Symbol | Name | Formula | Dimension | Value | Unit |
---|---|---|---|---|---|
π | pi | - | - | 3.1415926535897932 | pure number |
e | Euler's number | - | - | 2.7182817284590452 | pure number |
γ | euler_gamma | - | - | 0.5772156649015329 | pure number |
TSSGP | 26 sporadic group Product | exp(841.2869278) | - | 2.3241836455143e365 | pure number |
HFP | Happy Family product | exp(674.5210288) | - | 8.7249055755086e292 | pure number |
O_M | Monster Group Cardinal | - | - | 8.080174248 × 10^53 | pure number |
O_B | Baby Monster Group Cardinal | - | - | 4.15478148 × 10^33 | pure number |
c | Speed of light in vacuum | - | - | 2.99792458e8 | m.s^-1 |
ħ | Reduced Planck constant | - | 1.054571800e-34 | m^2 kg s^-1 | |
G' | constant of gravitation CODATA2019 | - | M^-1L^3T^-2 | 6.67408(31)e-11 | m^3 kg^-1 s^-2 |
G | F.M.Sanchez constant of gravitation | M^-1L^3T^-2 | 6.675453818e-11 | m^3 kg^-1 s^-2 | |
a | Electric constant | dimensionless | 137.035999139^-1 | pure number | |
R_U | Universe Hubble radius (F.M.Sanchez) | L | 1.3065e26 | m | |
G_F | Fermi Coupling Constant(F.M.Sanchez) | ML^5T^-2 | 1.4358509(7)e-62 | J.m^3 | |
a_G | Gravit Sanchez Coupling Constant | - | 1.691936465e38 | pure number | |
M_U | Universe Sanchez Mass | M | 8.7936e52 | kg | |
t_cc | Kotov Cosmic Periodicity | - | s | 9600.061(2) | s |
r_H(0) | Bare Hydrogen radius | L | 5.291772103e-11 | m | |
H | Hydrogen-electron mass ratio | dimensionless | 1837.152645 | m_e | |
p | Proton-electron mass ratio | dimensionless | 1836.152672 | m_e | |
n | Neutron-electron mass ratio | dimensionless | 1838.683659 | m_e | |
m_e | electron mass | - | M | 9.10938356(11)e-31 | kg |
μ' | Muon electron mass ratio CODATA2019 | - | dimensionless | 206.7682826(41) | m_e |
μ | Muon mass F.M.Sanchez | - | dimensionless | 206.7682869 | m_e |
f' | Strg Nuc Coupling Constant CODATA2019 | - | dimensionless | 1/0.1181(11) | pure number |
f | Strg Nuc Coupling Constant C.Bizouard | dimensionless | 8.434502892 | pure number | |
F' | Fermi Constant reduced mass CODAT2019 | dimensionless | 573007.33(25) | pure number | |
F | Fermi Constant reduc mass F.M.Sanchez | - | dimensionless | 573007.3652 | pure number |
d_e | electron magnetic moment excess | - | dimensionless | 1.00115965218091(26) | pure number |
θ' | CMB Temperature CODATA2019 | - | - | 2.7255(6) K | K |
θ | CMB Temperature F.M.Sanchez | - | - | 2.725820831 K | K |
k_B | Boltzman Energy-temperature Convers° | - | - | 1.3806488e10-23 | J K^-1 |
W | Intermed vector boson Red. Mass | - | dimensionless | 157298(23) | pure number |
W_s | In vector boson Red. Mass F.M.Sanchez | - | dimensionless | 157340 | pure number |
Z | Intermediate vector boson Red. Mass | - | dimensionless | 178450.0(41) | pure number |
Z_s | In vector boson Red. Mass F.M.Sanchez | - | dimensionless | 178452 | pure number |
Π± | Pion / Pi Meson Reduced Mass | - | dimensionless | 273.13203(68) | pure number |
Π0 | Pion / Pi Meson Reduced Mass | - | dimensionless | 264.1426(18) | pure number |
TheMathPhysicalConstants.jl
package is licensed under the MIT "Expat" License. Theoriginal author is La Guer.
Please, cite this paper (http://vixra.org/pdf/1811.0146v8.pdf) if youemploy this package in your research work.
About
Mathematical and Physical Constants in Cosmology and micro physics (updated SI CIPM CODATA 2019)