We need to see the following functions to be installed with the scipy library.
- In the following table, we have mentioned some of the functions and special constants
- It depends on the requirement you have, you need select the correct one
- Execute the functions you have chosen
Mathematical constants:
Function | Description |
pi |
Pi |
golden |
Golden ratio |
golden_ratio |
Golden ratio |
Physical constants:
Function | Description |
speed_of_light |
Speed of light in vacuum |
mu_0 |
The magnetic constant, μ0 |
epsilon_0 |
The electric constant (vacuum permittivity), ϵ 0 |
h |
The Planck constant, h |
Planck |
The Planck constant, h |
hbar |
ℏ=h/(2π) |
G |
Newtonian constant of gravitation |
gravitational_constant |
Newtonian constant of gravitation |
g |
Standard acceleration of gravity |
e |
Elementary charge |
elementary_charge |
Elementary charge |
R |
Molar gas constant |
gas_constant |
Molar gas constant |
alpha |
Fine-structure constant |
fine_structure |
Fine-structure constant |
N_A |
Avogadro constant |
Avogadro |
Avogadro constant |
k |
Boltzmann constant |
Boltzmann |
Boltzmann constant |
sigma |
Stefan-Boltzmann constant, σ |
Stefan_Boltzmann |
Stefan-Boltzmann constant, σ |
Wien |
Wien displacement law constant |
Rydberg |
Rydberg constant |
m_e |
Electron mass |
electron_mass |
Electron mass |
m_p |
Proton mass |
proton_mass |
Proton mass |
m_n |
Neutron mass |
neutron_mass |
Neutron mass |