The Museum of HP Calculators


Curve Fitting 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 "LIN"
 02 5
 03 "LIN"
 04 GTO 13
 05 LBL "EXP"
 06 6
 07 "EXP"
 08 GTO 13
 09 LBL "LOG"
 10 7
 11 "LOG"
 12 GTO 13
 13 LBL "POW"
 14 8
 15 "POW"
 16 LBL 13
 17 XEQ "INIT"
 18 STO 00
 19 ASTO 08
 20 SREG 10
 21 CLS
 22 BEEP
 23 AVIEW
 24 STOP
 25 LBL C
 26 X<>Y
 27 XEQ IND 00
 28 S-
 29 STOP
 30 LBL A
 31 X<>Y
 32 XEQ IND 00
 33 S+
 34 STOP
 35 LBL 07
 36 LN
 37 RTN
 38 LBL 08
 39 LN
 40 LBL 06
 41 X<>Y
 42 LN
 43 X<>Y
 44 RTN
 45 LBL E
 46 RCL 15
 47 RCL 11
 48 RCL 10
 49 RCL 10
 50 XEQ 09
 51 STO 03
 52 RCL 12
 53 RCL 11
 54 RCL 10
 55 RCL 14
 56 XEQ 09
 57 RCL 03
 58 /
 59 STO 04
 60 XEQ IND 00
 61 STO 06
 62 RCL 15
 63 RCL 14
 64 RCL 10
 65 RCL 12
 66 XEQ 09
 67 RCL 03
 68 /
 69 STO 05
 70 LBL 03
 71 RCL 04
 72 RCL 12
 73 *
 74 RCL 05
 75 RCL 14
 76 *
 77 +
 78 RCL 12
 79 X^2
 80 RCL 15
 81 /
 82 STO 09
 83 -
 84 RCL 13
 85 RCL 09
 86 -
 87 /
 88 "R2"
 89 XEQ 88
 90 RCL 06
 91 "a"
 92 XEQ 88
 93 RCL 05
 94 "b"
 95 GTO 01
 96 LBL 06
 97 LBL 08
 98 E^X
 99 LBL 05
100 LBL 07
101 RTN
102 LBL 09
103 *
104 STO 07
105 RDN
106 *
107 RCL 07
108 -
109 RTN
110 LBL 00
111 "Y."
112 LBL 01
113 "|-="
114 ARCL X
115 AVIEW
116 FS? 55
117 STOP
118 LBL 04
119 GTO IND 00
120 LBL 08
121 RCL 05
122 Y^X
123 GTO 09
124 LBL 06
125 RCL 05
126 *
127 E^X
128 LBL 09
129 RCL 06
130 *
131 GTO 00
132 LBL 07
133 LN
134 LBL 05
135 RCL 05
136 *
137 RCL 06
138 +
139 GTO 00
140 LBL 88
141 "|-="
142 ARCL X
143 AVIEW
144 RTN
145 LBL a
146 GTO IND 08
147 LBL "INIT"
148 CLRG
149 CF 00
150 CF 01
151 CF 02
152 SF 21
153 SF 27
154 CF 29
155 RTN
156 END

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