Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Determine the root of an equation using Newton's method
ResourceFunction["NewtonsMethodFindRoot"][f,{x,x0},tol] searches for a numerical root of f starting at x0 with digits equal to tol. | |
ResourceFunction["NewtonsMethodFindRoot"][lhs⩵rhs,{x,x0},tol] searches for a numerical solution to the equation lhs==rhs. | |
ResourceFunction["NewtonsMethodFindRoot"][f,{x,x0},tol,property] returns a property of the search for the root of f. |
"Solution" | return root of f |
"Steps" | return a table of steps taken to reach the root |
Find the root of an expression using Newton’s method:
In[1]:= |
Out[1]= |
Determine the steps to find the root of an equation:
In[2]:= |
Out[2]= |
This work is licensed under a Creative Commons Attribution 4.0 International License