Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Determine the root of an equation using the secant method
ResourceFunction["SecantMethodFindRoot"][f,{x,x0,x1},prec] searches for a numerical root of f starting at x0 with digits equal to prec. | |
ResourceFunction["SecantMethodFindRoot"][lhs⩵rhs,{x,x0,x1},prec] searches for a numerical solution to the equation lhs==rhs. | |
ResourceFunction["SecantMethodFindRoot"][f,{x,x0,x1},prec,property] returns a property of the search for the root of f. |
"Solution" | return the root of f |
"Steps" | return a table of steps taken to reach the root |
Find the root of an expression using the secant 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