lõigumeetod
The lõigumeetod, often translated as the secant method, is a numerical root-finding algorithm. It is an iterative method that approximates the root of a function by constructing a sequence of roots of secant lines. The secant method is similar to Newton's method, but it approximates the derivative of the function using a finite difference.
To use the lõigumeetod, two initial guesses, x0 and x1, are required. These guesses should be relatively
The process continues until a specified level of accuracy is reached, meaning the difference between successive