Halley's method uses a quadratic Taylor approximation and results in a fixed point method of order $3$:
$$ x_{n + 1} = x_{n} - {{\rm f}\left(x_{n}\right) \over {\rm f}'\left(x_{n}\right)}\, \left[% 1 - {{\rm f}\left(x_{n}\right){\rm f}''\left(x_{n}\right) \over 2{\rm f}'^{2}\left(x_{n}\right)} \right]^{-1} $$
My original question about finding the cube root of 5 using Halley's method has been solved.
How do I verify numerically that the convergence is cubic?
I know that I have to use the order of convergence formula, but how do I set it up on Maple?
You can estimate the order of the convergence numerically. The procedure
estimateorderbelow is just one of several ways to do it.First,
His a short and workable (but inefficient) implementation of the method, with no stopping criteria other then a maximal number of iterations. Note that this procedure stores and returns all the iterates, not just the final one. Presumably you already have your own implementation.Let's run that on an example, and make sure to have lots of digits in the results, for comparing.
Here's the last term in that result,
Now a procedure which estimates the order of convergence.
Notice that the convergence rate may be much worse initially, and that it only tends to cubic.
Another example, for illustration