beautypg.com

Newton’s method, Continued) – Sharp EL-9900 User Manual

Page 147

background image

14

Advanced Keyboard/PROGRAMMING USING THE SHARP EL-9900

Copyright © 2002, Sharp Electronics Corporation. Permission is granted to photocopy for educational use only.

4.

Press Y= and CL to clear the Y1 prompt. Press and CL to clear

additional prompts. Press to return to the Y1 prompt. Enter the

function for which you want to find the roots. Enter x

2

– 2 by pressing

X/

θ/T/n x

2

– 2 ENTER . Execute the NEWTONS program by

pressing PRGM A (EXEC) and select NEWTONS. The program will

prompt you for the accuracy you desire in calculating the root. Enter .001

by pressing .

0 0 1 ENTER . Next, the program will prompt you

for your guess. Enter 1 by pressing 1 ENTER . A blinking cursor in the

upper right-hand corner tells you the program is still working. Continue to

press ENTER until the blinking cursor is gone. The last value on the

screen is your approximate for the root.

You can repeat this program for other roots by pressing ENTER to execute

the program again with another guess. You can repeat the program for other

functions by pressing Y= and changing the Y1 function to the new one. If

you receive an error statement, press or to go to the line within the

program with the error. Correct the error and execute the program again.

NEWTON’S METHOD

(continued)