In numerical analysis, Newton's method, also known as the Newton–Raphson method, named after Isaac Newton and Joseph Raphson, is a root-finding algorithm which produces successively better approximations to the roots (or zeroes) of a real-valued function. The most basic version starts with a single-variable function f defined for a real variable x, the function's derivative f ′, and an initial guess x0 for a root of f.
Enter initial guess 2
Enter the error 0.001
The root is 2.707 >>
Manotosh Mandal (2020). Newton Raphson (https://www.mathworks.com/matlabcentral/fileexchange/72482-newton-raphson), MATLAB Central File Exchange. Retrieved .
Newton Raphson method with example.