There was an error while loading. Please reload this page.
1 parent 0ef592b commit 2337224Copy full SHA for 2337224
physics/basic_orbital_capture.py
@@ -22,7 +22,7 @@ def capture_radii(
22
# Gravitational constant to four significant figures as of 7/8/2023|
23
# Source google: gravitational constant
24
g = 6.6743e-11 # SI units (N*m**2)/kg**2
25
-
+
26
escape_velocity_squared = (2 * g * target_body_mass) / target_body_radius
27
28
capture_radius = target_body_radius * math.sqrt(
@@ -35,6 +35,7 @@ def capture_area(capture_radius: float) -> float:
35
sigma = math.pi * math.pow(capture_radius, 2)
36
return sigma
37
38
39
if __name__ == "__main__":
40
import doctest
41
0 commit comments