Skip to content

Commit 794c1f3

Browse files
Merge pull request #2 from Urknall25/Urknall25-patch-2
Show fuel consumption graph for LEO to GEO transfer
2 parents 879de34 + 6bd070e commit 794c1f3

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)