From b64756e79b107ae2930bc246999e6fa8d00bcc4a Mon Sep 17 00:00:00 2001 From: Jorge Martinez Date: Mon, 9 Sep 2024 19:28:09 +0200 Subject: [PATCH] doc: update README --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b63dcad..8c37dd9 100644 --- a/README.md +++ b/README.md @@ -123,19 +123,18 @@ r1 = np.array([0.159321004, 0.579266185, 0.052359607]) r2 = np.array([0.057594337, 0.605750797, 0.068345246]) tof = 0.010794065 -v1, v2 = gooding1990(mu_sun, r1, r2, tof) +v1, v2 = gooding1990(mu_sun, r1, r2, tof, M=0, prograde=True) print(f"Initial velocity: {v1} [AU / years]") print(f"Final velocity: {v2} [AU / years]") ``` **Result** -``` +```console Initial velocity: [-9.303608 3.01862016 1.53636008] [AU / years] Final velocity: [-9.511186 1.88884006 1.42137810] [AU / years] ``` Directly taken from *An Introduction to the Mathematics and Methods of -Astrodynamics, revised edition, by R.H. Battin, problem 7-12.*. - +Astrodynamics, revised edition, by R.H. Battin, problem 7-12*.