In numerical analysis, Newton's method, developed by Isaac Newton and Joseph Raphson, aims to estimate the roots of a function. An initial approximation is chosen for this purpose.
-
Node
npm install mathjs node newton.js
Note: Initial guess for function fa: 1.1 Initial guess for function fb: 5.1