Example: Newton's Method


The following example demonstrates how to use the Newton's method program.


Example


Find the roots of the function y = x3 - 4x2 - x + 4. Use an allowable error of .0001, a limit of 50 iterations, and initial guesses of -4, .5, and 10.

Procedure

Press

Display


Enter the function. [ LEARN ] { 1st }
[ 2nd ] [ LBL ] [ 2nd ]
f [ 2nd ] x [ ( ]
[ RCL ] A [ y
x ] 3
[ - ] 4 [ x ] [ RCL ] A
[ x
2 ] [ - ] [ RCL ] A
[ + ] 4 [ ) ] [ 2nd ]
[ RTN ] [ LEARN ]
Select the program [ RUN ] { MTH }
{ --> } { ZRO }
{ NTN }
D_rUM6Yp
Enter the initial guess 4 [ +/- ] { xo } D_qqcKTP
Enter the allowable error .0001 { err } D_1SY9K5
Enter the number of iterations allowed. 50 { #it } D_V2OnpE
Proceed with result { EOD } D_lEcmlf
Enter the initial guess for a different root { ESC } .5 { xo } D_GD13vN
Proceed with result using previously entered allowable error and iterations { EOD } D_IAP0I4
Enter the initial guess for a different root { ESC } 10 { xo } D_fJ7Wik
Proceed with result { EOD } D_v9vNC6


Back