Unformatted text preview: x = 0 , 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 tol f and tol x to be 105 and set the maximum number of iterations to 100. Submit the mﬁle and the diary....
View
Full Document
 Spring '08
 N/A
 Rootfinding algorithm, positive real root, matlab code newton.m

Click to edit the document details