CS3343/3341 Analysis of Algorithms Weird Topic |
Newton's Method
|
Newton's method is amazing because each iteration (each loop) doubles the number of correct digits of the answer.
Newton's Method is used to find successive approximations to the roots of a function. If the function is y = f(x) and x0 is close to a root, then we usually expect the formula below to give x1 as a better approximation. Then you plug the x1 back in as x0 and iterate.A number of web pages explain how the above formula for Newton's method is derived. For example: