We can see that x 2 is closer to the root r than either x 1 or x 0.
However, convergence is not always guaranteed in this method.
It is now thought of as a primitive version because it is essentially the secant method applied to a linear equation.
That means, two most recent fresh values are used to find out the next approximation.
For the years that we have been in service, we have always provided our esteemed clients with top-notch service.
Input initial guesses x0 and x1 , tolerable error e and maximum iteration N 4.