Moon Landing Simulation for the HP41
I adapted this program for SIM41 from the original HP25 code found in a page of David G.
Hicks.
See detailed instructions in that page.
Contents of MOONLAND.PRG ------------------------ fix 4 lbl 02 rcl 00 1 E4 / rcl 01 x0? gto 11 + gto 13 lbl 11 x<>y - lbl 13 stop rcl 02 xy? gto 34 rdn st- 02 5 - sto 03 2 / rcl 00 + rcl 01 + sto 00 x0? gto 44 rcl 03 st+ 01 gto 02 lbl 34 rcl 01 x^2 rcl 00 10 * + sqrt chs sto 01 lbl 44 rcl 01 fix 0You need to enter the values for Initial distance in memory 00, initial velocity in memory 01 and initial fuel in memory 02. Then you can execute MOONLAND.PRG