Secant Method 9
(b) Let f(x) = 27x4+ 162x3−180x2+ 62x−7. With p0= 0 and p1= 1, ten
npn|pn−p| |pn−p|/|pn−1−p|
0 0.00000000
2 0.09859155 0.23474178 0.352
4 0.18992728 0.14340605 0.713
6 0.25096822 0.08236511 0.748
8 0.28642787 0.04690546 0.753
clear that the order of convergence has dropped to linear.
npn|pn−p| |pn−p|/|pn−1−p|
0 2.00000000
2 46.00000000 43.50000000 87.000
4 2.90154959 0.40154959 0.902
6 2.63456117 0.13456117 0.652
8 2.55037793 0.05037793 0.622
12. Newton’s method approximates the zero of f(x) = x3+ 2x2−3x−1 on the
interval (−3,−2) to within 9.436 ×10−11 in 3 iterations and 6 function eval-
uations. How many iterations and how many function evaluations are needed
by the secant method to approximate this zero to a similar accuracy? Take
p0=−2 and p1=−3.
To 15 decimal places, the zero of f(x) = x3+2x2−3x−1on the interval (−3,−2)
is −2.912229178484397. With p0=−2and p1=−3, the secant method yields