You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A `NamedTuple` which stores some constant values listed in [*CODATA recommended values of the fundamental physical constants: 2022*](https://physics.nist.gov/cuu/pdf/wall_2022.pdf)
56
+
57
+
The current stored constants are:
58
+
- `c` : (exact) speed of light in vacuum with unit ``[\textrm{m}\cdot\textrm{s}^{-1}]``
59
+
- `G` : Newtonian constant of gravitation with unit ``[\textrm{m}^3\cdot\textrm{kg}^{−1}\cdot\textrm{s}^{−2}]``
60
+
- `h` : (exact) Planck constant with unit ``[\textrm{J}\cdot\textrm{s}]``
61
+
- `ħ` : reduced Planck constant with unit ``[\textrm{J}\cdot\textrm{s}]``
62
+
- `e` : (exact) elementary charge with unit ``[\textrm{C}]``
63
+
- `μ0` : vacuum magnetic permeability with unit ``[\textrm{N}\cdot\textrm{A}^{-2}]``
64
+
- `ϵ0` : vacuum electric permittivity with unit ``[\textrm{F}\cdot\textrm{m}^{-1}]``
65
+
- `k` : (exact) Boltzmann constant with unit ``[\textrm{J}\cdot\textrm{K}^{-1}]``
66
+
- `NA` : (exact) Avogadro constant with unit ``[\textrm{mol}^{-1}]``
67
+
68
+
# Examples
69
+
70
+
```
71
+
julia> PhysicalConstants.ħ
72
+
1.0545718176461565e-34
73
+
```
74
+
"""
75
+
const PhysicalConstants = (
76
+
c =299792458.0,
77
+
G =6.67430e-11,
78
+
h =6.62607015e-34,
79
+
ħ =6.62607015e-34/ (2* π),
80
+
e =1.602176634e-19,
81
+
μ0 =1.25663706127e-6,
82
+
ϵ0 =8.8541878188e-12,
83
+
k =1.380649e-23,
84
+
NA =6.02214076e23,
85
+
)
86
+
87
+
# common energy units (the values below are all in the unit of Joule)
0 commit comments