NewtonRaphsonmenetelmän
The Newton-Raphson method, also known as Newton's method, is a powerful numerical technique for finding successively better approximations to the roots (or zeroes) of a real-valued function. It is an iterative process that begins with an initial guess for the root. The core idea is to use the tangent line to the function at the current guess to estimate the location of the root.
The formula for the Newton-Raphson method is derived from Taylor series expansion. If $x_n$ is the current
However, the Newton-Raphson method has limitations. It may fail to converge if the initial guess is poor,