Secant Method Calculator
Enter a function and two initial guesses to find its root using the secant method with step-by-step iteration table.
Secant Method Inputs
Use ^ for powers, Math.sin(x), Math.sqrt(x), etc.
Quick examples
Result Summary
Root (x*)
—
f(x*)
—
Iterations
—
Iteration Table
| n | xn | f(xn) | |Error| |
|---|
Enter a function and initial guesses, then click Calculate.
The iteration table will appear here.
Copied!
Summary
Enter a function and two initial guesses to find its root using the secant method with step-by-step iteration table.
How it works
- Enter the function f(x) using standard math notation (e.g. x^3 - x - 2).
- Provide two initial guesses x0 and x1 that bracket or are close to the root.
- Set the desired tolerance and maximum number of iterations.
- Click Calculate to run the secant method step by step.
- Review the iteration table showing each xn, f(xn), and the error at every step.
- The root is displayed when |f(xn)| or the step size falls below your tolerance.
Use cases
- Solving nonlinear equations in engineering and physics.
- Finding equilibrium points in economic and financial models.
- Computing zeros of polynomials when analytical solutions are unavailable.
- Numerical analysis coursework and homework verification.
- Prototyping root-finding routines before implementing in code.
- Comparing convergence speed against bisection or Newton's method.
Frequently Asked Questions
Last updated: 2026-06-10 ·
Reviewed by Nham Vu