Dr. K. G. TeBeest
Newton's Method to Approximate a Zero of
f(x) = exp(-x) - cos(x)
Starting Value: x0 = 2.5
Iter# x | f(x) |
************************************************
1 0.789599921490 2.501030512353e-01
2 1.766392435468 3.652998973351e-01
3 1.315395667209 1.573502581232e-02
This shows only the results of the first three iterations.
NOTE: Because of truncation error, the values of x and function f
could differ in the last decimal place.
Return to Section 1.3 assignment