{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# assign6 - x 1 = 1(d Which of these methods converges...

This preview shows page 1. Sign up to view the full content.

ASE 211 Homework 6 Due: In class, Monday, March 7th. 1. Consider the nonlinear function f ( x ) = 3 x +3 x 5 5 - 2 . Suppose we want to ﬁnd a positive real root for this function. (a) Take 4 iterations of the bisection method by hand starting with the initial interval [ - 1 , 1] . (b) Apply 4 iterations of Newton’s method by hand with initial guess x 0 = 0 . (c) Apply 4 iterations of the Secant method by hand with initial guesses x 0 = 0
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: , x 1 = 1 . (d) Which of these methods converges fastest? Rank the methods. 2. Write a matlab code newton.m which implements Newton’s method (as discussed in class). Test your code on the function in problem 1 with initial guess x = 0 . Take your tolerances f tol and x tol to be 10-5 and set the maximum number of iterations to 100. Submit the mﬁle and the diary....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online