The Museum of HP Calculators


Derivative in a point for the HP-35s

This program is by Alexis Ariel Dávalos Zuleta and is used here by permission.

This program is supplied without representation or warranty of any kind. Alexis Ariel Dávalos Zuleta 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.

Overview

Hi, this is one of my programs for the Scientific Calculator HP-35s in mode RPN.

Function:
f(X)=X3+4*X2+X-6
derivative:
f'(X)=3*X2+8*X+1
in X=3
The answer is:
f'(X=3)=52

For the program, uses two labels.
LBL D: Derivative in a point
LBL F: Function f(X)

Find the derivative of X3+4*X2+X-6 in X=3 whit the HP-35s.
XEQ D [ENTER]
A? 3 [R/S]
52

Listing

F001 LBL F
F002 X3+4*X2+X-6
F003 RTN

D001 LBL D
D002 INPUT A
D003 STO X
D003 XEQ F001
D004 x⇔y
D005 0.000001
D006 +
D008 STO X
D009 XEQ F001
D010 x⇔y
D011 Clx
D012 R↓
D013 -
D014 0.000001
D015 ÷
D016 +/-
D017 RTN

Go back to the software library
Go back to the main exhibit hall