The Museum of HP Calculators

HP Forum Archive 06

[ Return to Index | Top of Index ]

Lunar Lander and the HP 19BII
Message #1 Posted by Barry on 18 Oct 2001, 12:36 p.m.

Can anyone suggest a way to get Lunar Lander to run on the HP 19BII ?

      
Re: Lunar Lander and the HP 19BII
Message #2 Posted by Ray on 18 Oct 2001, 6:24 p.m.,
in response to message #1 by Barry

I have a hp-67 and own the lunar lander program, however I am a novice compared to others here. I can e-mail you the code and, with a little work, it should easily port to any RPN calculator. Provided it has the indirect adressing feature.

            
Re: Lunar Lander and the HP 19BII
Message #3 Posted by thibaut.be on 20 Oct 2001, 3:09 a.m.,
in response to message #2 by Ray

I'd be damn astonished if a program such a lunar lander orked on a 19BII !

the loop function does not exist, as far as I know, on this calc. All you can do is to store a very powerful formula (or function) in the solver, but from there to let it loop by itself like on the 67, 41, 11C, etc... application, I really do not see how !

                  
Re: Lunar Lander and the HP 19BII
Message #4 Posted by Chris Randle (Lincoln, UK) on 20 Oct 2001, 9:09 p.m.,
in response to message #3 by thibaut.be

The Sigma function can be "abused" as a loop counter. L (let) and G (get) functions could be used to assign and read "invisible" variables.

I imagine the user could enter a value for fuel and then solve. The solver would calculate the next height, velocity etc. and stop. The user could then solve again until such time as they hit the surface. Not sure I'd want to try such a complex program contained in one line of formula, but I can't see a reason why it couldn't be done. Quite a challenge!

                        
Re: Lunar Lander and the HP 19BII
Message #5 Posted by Thibaut.be on 21 Oct 2001, 10:35 a.m.,
in response to message #4 by Chris Randle (Lincoln, UK)

Well, I'll have a look at the manual and keep you informed...

            
There are 5 or 6 versions in the software lib too
Message #6 Posted by Jim L on 20 Oct 2001, 1:47 p.m.,
in response to message #2 by Ray

Ranging from the 9100 to the 41C. The HP25 version is probably the simplest and most portable but I don't know how to port it to a 19BII.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall