-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstantes.txt
More file actions
57 lines (51 loc) · 1.21 KB
/
constantes.txt
File metadata and controls
57 lines (51 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Paquet de constantes par défaut
# Format: nom = valeur
# Constantes mathématiques
pi = 3.14159265358979
phi = 1.61803398874989
e = 2.71828182845904
sqrt2 = 1.41421356237310
sqrt3 = 1.73205080756888
sqrt5 = 2.23606797749979
ln2 = 0.69314718055995
ln10 = 2.30258509299405
log2e = 1.44269504088896
log10e = 0.43429448190325
inv_pi = 0.31830988618379
inv_sqrt2 = 0.70710678118655
inv_sqrt_pi = 0.56418958354775
# Constantes physiques
g = 9.80665
c = 299792458
h = 6.62607015E-34
hbar = 1.054571817E-34
G = 6.67430E-11
k = 1.380649E-23
e_charge = 1.602176634E-19
na = 6.02214076E23
me = 9.1093837015E-31
mp = 1.67262192369E-27
mn = 1.67492749804E-27
mu = 1.66053906660E-27
alpha = 7.2973525693E-3
epsilon0 = 8.8541878128E-12
mu0 = 1.25663706212E-6
# Constantes astronomiques
au = 1.495978707E11
ly = 9.4607304725808E15
pc = 3.0856775814913673E16
solar_mass = 1.98892E30
earth_mass = 5.97219E24
moon_mass = 7.342E22
# Constantes chimiques et thermodynamiques
avogadro = 6.02214076E23
boltzmann = 1.380649E-23
faraday = 96485.3321233
gas_constant = 8.31446261815324
stefan_boltzmann = 5.670374419E-8
# Valeurs utiles
deg_to_rad = 0.01745329251994
rad_to_deg = 57.2957795130823
inch_to_m = 0.0254
foot_to_m = 0.3048
mile_to_m = 1609.344