Newton Raphson Solver
Numerically solve f(x) = 0 using the Newton-Raphson method, with step-by-step iterations and a convergence chart.
Parameters
Use x, Math.sin(), Math.exp(), ** for power.
Enter a function and click Solve to find the root.
Copied!
Summary
Numerically solve f(x) = 0 using the Newton-Raphson method, with step-by-step iterations and a convergence chart.
How it works
- Enter f(x) — the function whose root you want to find (e.g. x^3 - x - 2).
- Optionally enter f'(x) — the derivative. Leave blank and the tool computes it numerically.
- Set an initial guess x₀ close to the expected root.
- Choose a convergence tolerance (e.g. 1e-10) and a maximum iteration limit.
- Click Solve to run the Newton-Raphson iterations.
- Review the step-by-step table showing x_n, f(x_n), f'(x_n), and the correction at each step.
Use cases
- Find real roots of polynomials, transcendental, or mixed equations.
- Verify Newton-Raphson homework or exam answers step by step.
- Explore convergence behavior for different initial guesses.
- Understand how derivative magnitude affects iteration speed.
- Quickly estimate roots before implementing in engineering code.
- Demonstrate quadratic convergence of the Newton-Raphson method.
- Solve implicit equations encountered in physics or finance.
- Test sensitivity to initial conditions near local extrema.
Frequently Asked Questions
Last updated: 2026-06-10 ·
Reviewed by Nham Vu