The Museum of HP Calculators

HP Forum Archive 14

[ Return to Index | Top of Index ]

Deep Pi on the HP-41cx
Message #1 Posted by Mark Taylor on 8 May 2004, 12:09 a.m.

I was not able to run the Deep Pi program after keying in the program steps as listed on www.voidware.com/calcs/hp41cv.htm

Should X<>0? (a nonexistent function) actually be X<> 00 (X swap with register 00 ?)

The program lines are not numbered but this step occurs, by my count, at lines 321, 338, and 408, of 511.

The flying goose justs runs forever when I execute the program.

Are there perhaps some typos in the program listing?

Any help would be greatly appreciated.

Thanks, Mark Taylor

      
Re: Deep Pi on the HP-41cx
Message #2 Posted by Richard Garner on 8 May 2004, 12:34 a.m.,
in response to message #1 by Mark Taylor

The code looks correct. Are you sure you are let it run long enough for an answer? I ran the code in V41 with turbo on and it took a minutes or two to run. Try starting it off on say the first set of numbers and let it run for about 5 minutes and see if it finishes.

      
Re: Deep Pi on the HP-41cx
Message #3 Posted by Garth Wilson on 8 May 2004, 1:32 a.m.,
in response to message #1 by Mark Taylor

X<>0? does exist on the 41cx (using the not-equals sign which you key in with <shift>H).

            
Re: Deep Pi on the HP-41cx
Message #4 Posted by Mark Taylor on 9 May 2004, 12:36 a.m.,
in response to message #3 by Garth Wilson

Thanks Richard and Garth!

It took my 41CX over 30 minutes to generate the first set of 6 digits. The fourth set of 6 digits took over 2 hours to generate!

Comments anyone?

      
Re: Deep Pi on the HP-41cx
Message #5 Posted by hugh steers on 9 May 2004, 7:19 p.m.,
in response to message #1 by Mark Taylor

hi mark,

sorry if this was confusing, but X<>0? is not a memory exchange but a compare against zero.

good luck,

            
Re: Deep Pi on the HP-41cx
Message #6 Posted by Mark Taylor on 9 May 2004, 8:52 p.m.,
in response to message #5 by hugh steers

Thanks Hugh!

Please see my earlier post. My 41CX has been running set after set of 6 digits all weekend. Currently calculating digits 55 to 60. Each set has been taking 2 hours or so to generate. Should it take that long?

Thanks again, Mark Taylor

      
Re: Deep Pie on the HP-41cx
Message #7 Posted by 'Carly' ;-) on 10 May 2004, 12:27 p.m.,
in response to message #1 by Mark Taylor

I'd get a new cookery book as my 'pies' (note the spelling) take about 1 hour to do. As far as depth goes about 6 inches (150mm) is good, any deeper and the filling doesn't cook properly (for a 12 inch / 300mm pie dish).

Whats this HP-41cx thing? A new kind of programmable microwave or food mixer 'my boys' at HP have been developing?

To think some people think I don't know anything outside of company financing.

P.S. If you are making goose pie, best not let it run forever round the kitchen - it makes a horrible mess.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall