Deep PI - On a 42S Message #1 Posted by Bill (Smithville, NJ) on 7 May 2004, 8:47 a.m.
Started playing around with the Deep PI routine that Hugh had posted. Entered it into two HP-42S, one of which is the earlier ROM which supports "Fast" mode. I've been curious about how fast is fast mode and thought the Deep PI routine would made a good comparison.
I set up a infrared printer with a HP-41CX and the two HP-42S pointed at it. The 41 is running a short endless loop program that prints the date and time every 5 minutes so that I have a time trail on the printout. One 42S is running normal mode and one is running in fast mode. Both running the PI loop (1, 7, 13, ...) and then print the results.
Ran it for an hour last night and the Fast 42S was calculating about 2.5 times faster.
I plan to load new batteries into both 42S tonight and then I'll just let them run until the batteries die. Be interesting to see how many decimals they calculate and how long the batteries last.
The printer I can run on an AC adapter.
The 41CX has a rechargable battery pack. If I run the 41 with the AC recharger pluged in, will it basically run for ever?? Or should I load up the 41CX with fresh regular batteries to get maximum constant on time? I don't want the 41 to run down before the 42S batteries die.
I'll post the results next week for anyone who's courious.
|