Sekanttiyhtälö
Sekanttiyhtälö, often referred to as the secant method, is a numerical technique used to find roots of a function. It is an iterative root-finding algorithm that approximates the root by using a sequence of secant lines. The method is similar to Newton's method, but instead of using the derivative of the function, it approximates the derivative using a finite difference from two previous points.
The secant method starts with two initial guesses, x0 and x1, that are reasonably close to the
xn+1 = xn - f(xn) * (xn - xn-1) / (f(xn) - f(xn-1))
The process continues until a desired level of accuracy is achieved, meaning the difference between successive