NumericalMethodTextbook/Chapter 02 - Solution of Algebraic and Transcendental Equations/2.7 Secant Method.md
2.7 KB · commit a9602da
2.7 SECANT METHOD
We have seen that the Newton–Raphson method requires the evaluation of derivatives of the function and this is not always possible, particularly in the case of functions arising in practical problems. In the secant method, the derivative at xi is approximated by the formula
f′(xi)≈xi−xi−1f(xi)−f(xi−1),
which can be written as
fi′=xi−xi−1fi−fi−1,(2.36)
where fi=f(xi). Hence, the Newton–Raphson formula becomes
xi+1=xi−fi−fi−1fi(xi−xi−1)=fi−fi−1xi−1fi−xifi−1.(2.37)
It should be noted that this formula requires two initial approximations to the root.