11-4 Applications
This program uses the Newton-Raphson method to find the roots (zeros) of a
function numerically.
Find the roots of ex ì3X.
This program uses the Newton-Raphson method to find a root
of Y1 based on an initial guess. The program prompts for the
initial guess. One way to make this initial guess is to graph
and trace the function, and then enter X as the guess.
PROGRAM:NEWTON
:INPUT "INITIAL X=",X Input initial guess.
:LBL N Begin loop.
:XìY1/NDERIV(Y1,X,X)RCalculate new root.
:DISP R
:PAUSE
:IF ABS (XìR)ABS (X/1í10) Test for convergence.
:STOP
:RXEstimate with new root.
:GOTO N
Follow this procedure to solve the problem.
1. Press 3 and select FUNC.
2. Enter the program.
3. Press (. Enter the expression eõì3X to define Y1.
4. Graph the function using ZDECIMAL from the ZOOM
menu.
Program: Newton’s Numerical Solve Routine
Problem
Program
Procedure