From 8d7bb8335f4b5b76fa8955329cb0d19cb9b6bced Mon Sep 17 00:00:00 2001 From: elizabeth892 Date: Fri, 5 Jul 2024 15:31:07 +0100 Subject: [PATCH] mu unit error Update single-impulse-example.md (#30) Units of standard gravitational parameter were wrong Changed from Km2/s3 to Km3/s2 --- orbital-maneuvers/single-impulse-example.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orbital-maneuvers/single-impulse-example.md b/orbital-maneuvers/single-impulse-example.md index 96db012..b9ac6e7 100644 --- a/orbital-maneuvers/single-impulse-example.md +++ b/orbital-maneuvers/single-impulse-example.md @@ -33,7 +33,7 @@ np.set_printoptions(legacy="1.25") R_E = 6378 # km orbit_radius = 1000 # km -mu = 398_600 # km**2/s**3 +mu = 398_600 # km**3/s**2 theta = np.radians(35) earth = Circle((0, 0), R_E, facecolor="paleturquoise", edgecolor="None") orbit = Circle((0, 0), R_E + orbit_radius, facecolor="None", edgecolor="black") @@ -130,7 +130,7 @@ Then, Eq. {eq}`eq:distance-to-apoapsis` is used to find $h$. import numpy as np R_E = 6378 # km -mu = 398_600 # km**2/s**3 +mu = 398_600 # km**3/s**2 z_0 = 1000 # km impact_point = np.radians(145)