Fix bug in Lunar: wrong capsule weight.

Must be 32500 lbs, not 33000.
This commit is contained in:
Serge Vakulenko
2023-07-14 14:19:05 -07:00
parent 2aed1da9ac
commit 52e1bf4998
3 changed files with 3 additions and 3 deletions

View File

@@ -113,7 +113,7 @@ async function main()
print("\n");
a = 120;
v = 1;
m = 33000;
m = 32500;
n = 16500;
g = 1e-3;
z = 1.8;

View File

@@ -12,7 +12,7 @@
110 PRINT: PRINT: PRINT: PRINT "GOOD LUCK"
120 L=0
130 PRINT: PRINT "SEC","MI + FT","MPH","LB FUEL","BURN RATE":PRINT
140 A=120:V=1:M=33000:N=16500:G=1E-03:Z=1.8
140 A=120:V=1:M=32500:N=16500:G=1E-03:Z=1.8
150 PRINT L,INT(A);INT(5280*(A-INT(A))),3600*V,M-N,:INPUT K:T=10
160 IF M-N<1E-03 THEN 240
170 IF T<1E-03 THEN 150

View File

@@ -127,7 +127,7 @@ class SimulationClock:
class Capsule:
altitude: float = 120 # in miles above the surface
velocity: float = 1 # downward
m: float = 33000 # mass_with_fuel
m: float = 32500 # mass_with_fuel
n: float = 16500 # mass_without_fuel
g: float = 1e-3
z: float = 1.8