From 6bd070edacb78a1d2c459037ef5518213c33e010 Mon Sep 17 00:00:00 2001 From: Urvish Lanje Date: Tue, 10 Feb 2026 09:31:05 +0100 Subject: [PATCH] Show fuel consumption graph for LEO to GEO transfer Added display of fuel consumption graph for rocket transfers. --- jugend-forscht-2026/calculation of v1 and v2.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jugend-forscht-2026/calculation of v1 and v2.py b/jugend-forscht-2026/calculation of v1 and v2.py index 5dcf6ee..5d6ead7 100644 --- a/jugend-forscht-2026/calculation of v1 and v2.py +++ b/jugend-forscht-2026/calculation of v1 and v2.py @@ -2,7 +2,7 @@ import matplotlib.pyplot as plt import numpy as np -# ========== Constants ========== +# ========== Constants =========== mu_earth = 3.986e14 # gravitational constant × Earth’s mass r_earth = 6371e3 # Earth radius (m) @@ -58,4 +58,5 @@ def rocket_equation(delta_v, Isp=320, m0=1000): plt.scatter([320], [fuel], color='red', zorder=5) plt.text(330, fuel, f'Mein Satellit\n(Isp=320s, Treibstoff={int(fuel)}kg)', color='red') -plt.show() \ No newline at end of file + +plt.show()