-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.py
54 lines (44 loc) · 1005 Bytes
/
constants.py
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
# Sun
mass_sun = 1.989e30
pos_sun = (0.0, 0.0)
vel_sun = (0.0, 0.0)
# Mercury
mass_mercury = 3.3011e23
pos_mercury = (5.791e10, 0.0)
vel_mercury = (0.0, 47362.0)
# Venus
mass_venus = 4.867e24
pos_venus = (1.082e11, 0.0)
vel_venus = (0.0, 35020.0)
# Earth
mass_earth = 5.972e24
pos_earth = (1.496e11, 0.0)
vel_earth = (0.0, 29780.0)
# Moon
mass_moon = 7.34767309e22
pos_moon = (1.496e11 + 3.844e8, 0.0)
vel_moon = (0.0, 29780.0 + 1022.0)
# Mars
mass_mars = 6.4171e23
pos_mars = (2.279e11, 0.0)
vel_mars = (0.0, 24077.0)
# Jupiter
mass_jupiter = 1.898e27
pos_jupiter = (7.785e11, 0.0)
vel_jupiter = (0.0, 13070.0)
# Saturn
mass_saturn = 5.683e26
pos_saturn = (1.433e12, 0.0)
vel_saturn = (0.0, 9690.0)
# Uranus
mass_uranus = 8.681e25
pos_uranus = (2.872e12, 0.0)
vel_uranus = (0.0, 6835.0)
# Neptune
mass_neptune = 1.024e26
pos_neptune = (4.495e12, 0.0)
vel_neptune = (0.0, 5477.0)
# Pluto (classified as a dwarf planet)
mass_pluto = 1.309e22
pos_pluto = (5.906e12, 0.0)
vel_pluto = (0.0, 4748.0)