DOC PREVIEW
ISU MATH 165 - newton's method

This preview shows page 1 out of 2 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Newton’s Method Page 1 of 2This is a program for Newton’s Method that works on my TI-86. Similar programs work on the TI-83 and TI-84 but some parts may vary.PROGRAM:NEWTONS:Disp “Guess a Number”:Input x:Lbl B:x A:x - (y1/y2) x(y1 is the function you type into the graphing section in terms of x, y2 is its derivative):Disp x:If x≠A:Goto BCommentsMany of the commands such as ‘Disp’, ‘Input’, ‘Lbl’, ‘If’, and ‘Goto’ are listed in the programming menus that are displayed on the F1-F5 keys below the screen.Disp will display what is in the quotesto the screen.Input asks for the user to put in a value for x.Lbl B marks the start of a loop.Store the value of x into A (Use the STO button).The equation of Newton’s Method. y1 and y2 are the first two functions in your graphing section of your calculator. Be sure the variables you use in this program are what the calculator recognizes as the functions you put in. Then the value it calculates is stored as the new x.Disp writes the number Newton’s Method found to the screen.If the new calculated number is not the same as the previous number then it will repeat Newton’s Method using the new x value.Example:Graph:Newton’s Method Page 2 of 2y1 = x^3 + x^2 + x + 1y2 = 3*x^2 + 2*x + 1Run the Program:NEWTONSGuess a Number0-1-1DonePut in the function for y1.Put in the derivative for y2.Run the program.It displays what was in the quotes.I guessed 0 for the first input.Newton’s Method calculated -1 when x = 0.Then it went through again and calculated -1 again when x = -1.x = A so that means the root is found and it is


View Full Document

ISU MATH 165 - newton's method

Download newton's method
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view newton's method and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view newton's method 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?