The Museum of HP Calculators


Root Finder for the HP-41C/CV/CX

This program is Copyright © HP and is used here by permission. It was originally printed in the Standard Applications. This program was entered and uploaded by Tony Duell.

This program is supplied without representation or warranty of any kind. Tony Duell, Hewlett Packard and The Museum of HP Calculators therefore assume no responsibility and shall have no liability, consequential or otherwise, of any kind arising from the use of this program material or any part thereof.

Documentation Information (CD or source code)
How to get this Program to your Calculator (via HP-IL, disk, wand, and fingers)
Download Binary (.raw) program for disk or PC HP-IL Card download
Download Hexadecimal (.dat) program for Serial Port download

Program Listing

LINE  KEYS
 01 LBL "ROOT"
 02 "FUNCTION NAME?"
 03 AON
 04 PROMPT
 05 AOFF
 06 ASTO 03
 07 LBL A
 08 "GUESS1=?"
 09 PROMPT
 10 STO 01
 11 "GUESS2=?"
 12 PROMPT
 13 STO 02
 14 RCL 01
 15 STO 04
 16 XEQ IND 03
 17 STO 05
 18 RCL 02
 19 STO 04
 20 XEQ IND 03
 21 STO 06
 22 RCL 05
 23 *
 24 X>0?
 25 GTO 05
 26 LBL 00
 27 RCL 02
 28 RCL 02
 29 RCL 01
 30 -
 31 RCL 06
 32 RCL 05
 33 -
 34 /
 35 RCL 06
 36 *
 37 -
 38 STO 04
 39 XEQ IND 03
 40 STO 07
 41 X=0?
 42 GTO 04
 43 ABS
 44 1 E-8
 45 X>Y?
 46 GTO 04
 47 RCL 07
 48 RCL 06
 49 *
 50 X>0?
 51 GTO 01
 52 RCL 02
 53 STO 01
 54 RCL 06
 55 STO 05
 56 LBL 02
 57 RCL 04
 58 STO 02
 59 RCL 07
 60 STO 06
 61 GTO 00
 62 LBL 01
 63 2
 64 ST/ 05
 65 GTO 02
 66 LBL 04
 67 "X="
 68 ARCL 04
 69 PROMPT
 70 LBL 05
 71 "F1*F2>0"
 72 AVIEW
 73 PSE
 74 GTO A
 75 END

Go back to the HP-41 software library
Go back to the general software library
Go back to the main exhibit hall