Skip to content

Commit 6bd070e

Browse files
Show fuel consumption graph for LEO to GEO transfer
Added display of fuel consumption graph for rocket transfers.
1 parent 879de34 commit 6bd070e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

jugend-forscht-2026/calculation of v1 and v2.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import matplotlib.pyplot as plt
33
import numpy as np
44

5-
# ========== Constants ==========
5+
# ========== Constants ===========
66
mu_earth = 3.986e14 # gravitational constant × Earth’s mass
77
r_earth = 6371e3 # Earth radius (m)
88

@@ -58,4 +58,5 @@ def rocket_equation(delta_v, Isp=320, m0=1000):
5858
plt.scatter([320], [fuel], color='red', zorder=5)
5959
plt.text(330, fuel, f'Mein Satellit\n(Isp=320s, Treibstoff={int(fuel)}kg)', color='red')
6060

61-
plt.show()
61+
62+
plt.show()

0 commit comments

Comments
 (0)