Post Reply 
HP 11C real root finder [Newton Method]
01-10-2014, 12:57 AM
Post: #2
RE: HP 11C real root finder [Newton Method]
Using storage arithmetic allows us to get rid of a few steps:

LBL 0
RCL 1
GSB 1
RCL 1
GSB 2
/
STO- 1
ABS
RCL 2
X<=Y?
GTO 0
RCL 1
RTN


You made a mistake calculating the 1st derivative.
This is the corrected program:

f'(x)= 3x^2 - 6x - 6 = (3x - 6)x - 6
f'(x) code

LBL 2
ENTER
ENTER
3
*
6
-
*
6
-
RTN


Kind regards
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 11C real root finder [Newton Method] - Thomas Klemm - 01-10-2014 12:57 AM



User(s) browsing this thread: 1 Guest(s)