Unformatted text preview: 6. [3pt] Write an implementation of the Secant Method (see page 127) to be turned in. 7. [2pt] Create a semilog plot titled Plot 2 (to be turned in) which compares the error of Newton’s method (in blue) with the Secant Method (in red) for f ( x ) = x 6-x-1. For Newton’s method use x = 1 . 5 and for Secant Method use x = 1 . 5 , x 1 = 1 . 4. Additionally, for the errors associated with Newton’s method compute (and print out) the ratios e i +1 /e 2 i and for the Secant method compute (and print out) the ratios e i +1 /e 1 . 6 i . For this problem you should turn in one plot and the two lists of error ratios. 8. [1pt] Give a short explanation (no more than 50 words) for the results of the previous experiment. 9. [1pt] Explain (in no more than 50 words) when, if ever, the Secant Method should be used. 1...
View Full Document
- Fall '05
- Numerical Analysis, Secant method, 1pt, Root-finding algorithm, semilog plot