| |
|||||
To apply Newton’s method as just described, it is necessary
to differentiate the function f at each successive guess.
This is not difficult, but requires a small amount of effort.
We can instead apply what is essentially the same method,
using an approximation to f '(xi) of the form
We can therefore put our guess in f2, put "= e2+f2"in g2, set h2 to "= f(f2)", copy it into i2 and then set f3 to "= f2-e2*h2/(i2-h2)", and copy g2, h2, i2 and e3 and f3 down, and we are done. Exercise 13.7 Do this for the functions considered above. Do you find a difference between the results here and with the regular Newton method? If so, what? |
||||||||||||||||||||||||||