Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Math & Numbers

Newton-Raphson Root Finder

· Last updated:2026-08-24

Newton-Raphson iteration for f(x) = 0 with analytic or numeric derivative, full iteration table, and explicit convergence/divergence reporting.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Math & Numbers
Input types
text, number
Output type
text
Sample coverage
4
API ready
Yes

Overview

The Newton-Raphson Root Finder solves non-linear equations of the form f(x) = 0 using Newton's tangent method. It supports user-defined algebraic and transcendental functions, accepts optional exact derivative expressions or defaults to central difference numeric derivatives, and outputs a complete step-by-step iteration table with convergence status.

When to use

  • You need to find accurate real roots of non-linear algebraic or transcendental equations.
  • You want to inspect step-by-step convergence values and function evaluations across iterations.
  • You want to compute roots without manually calculating derivatives by utilizing automated numerical central differences.

How it works

  1. 1Enter your target equation f(x) using mathematical operations (+, -, *, /, ^) and supported functions like exp, sin, cos, sqrt, or ln.
  2. 2Optionally enter the analytic derivative f'(x), or leave it empty to let the solver compute a numeric central difference approximation (h ≈ 1e-7).
  3. 3Specify an initial guess (x₀), convergence tolerance threshold, maximum iteration limit, and output decimal precision.
  4. 4The solver computes successive estimates using x_{k+1} = x_k − f(x_k)/f'(x_k) until convergence criteria are met or the iteration limit is reached.

Use cases

  • Solving transcendental equations such as finding fixed points for trigonometric functions like cos(x) = x.
  • Verifying numerical analysis coursework and homework by reviewing the complete step-by-step iteration table.
  • Calculating root approximations for non-linear engineering equations where algebraic solutions are impractical.

Examples

1. Finding the square root of 2

Engineering student

Background

The student needs to solve x² − 2 = 0 to approximate √2 to 10 decimal places for a numerical methods assignment.

Problem

Calculate the square root of 2 using Newton's method starting from x₀ = 1 without supplying an explicit derivative.

How to use

Enter `x^2 - 2` into f(x), leave f'(x) blank, set x₀ to 1, decimal places to 10, and run the calculation.

fxExpr = "x^2 - 2", dfxExpr = "", x0 = 1, tolerance = 1e-10, maxIter = 50, decimalPlaces = 10

Outcome

The solver converges in 4 iterations to 1.4142135624 with an iteration table detailing each intermediate approximation.

2. Computing the Dottie number

Mathematics instructor

Background

The instructor wants to demonstrate quadratic convergence on the transcendental equation cos(x) − x = 0.

Problem

Find the root of cos(x) − x = 0 using an exact analytic derivative starting from x₀ = 1.

How to use

Enter `cos(x) - x` as f(x), enter `-sin(x) - 1` as f'(x), set x₀ to 1, and evaluate.

FAQ

What happens if I leave the f'(x) field blank?

The solver automatically calculates the derivative numerically using a central difference method with a step size of h ≈ 1e-7.

What stopping criteria are used to determine convergence?

The iteration stops when |f(x)| falls below the specified tolerance or when step changes satisfy the convergence threshold.

Why does the iteration fail or diverge?

Iterations can fail if the derivative equals zero at a step, if the initial guess is too far from a root, or if the function diverges.

What math functions can I include in the expression?

You can use standard operators (+, -, *, /, ^), parentheses, and functions including sin, cos, exp, ln, and sqrt.

How many iterations can I configure?

You can set the maximum iteration cap between 2 and 200 steps, with a default limit of 50.

Hub

Differential Equations, Transforms, and Numerical Methods

Solve engineering math problems across ODEs, Laplace or Z transforms, convolution, and numerical approximation while checking method fit, units, and initial conditions.

Home
Tools3212
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Python

Web Image Processing Python Samples

Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion

Java

Android Image Processing Java Samples

Android Java image processing examples including reading/saving images, scaling, and format conversion

Kotlin

Android Image Processing Kotlin Samples

Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

Rust

Web Image Processing Rust Samples

Web Rust image processing examples including image read/save, scaling, and format conversion

Data Analysis

Skewness Analyzer

Analyze data skewness to measure the asymmetry of probability distribution and identify data patterns

Math & Numbers

First-Order ODE Solver (Separation of Variables)

Solve separable dy/dx = g(x)·h(y) symbolically: H(y) = G(x) + C, explicit inversion, initial conditions, and partial fractions for quadratics like y(1−y).

Math & Numbers

Simpson's Rule Integrator (∫f(x)dx)

Composite Simpson's 1/3 rule for ∫f(x)dx (even n): node table with weights, integral estimate, optional exact value, O(h⁴) accuracy.

Math & Numbers

Trapezoidal Rule Integrator (∫f(x)dx)

Composite trapezoidal rule for ∫f(x)dx: node table, integral estimate, optional exact value and O(h²) error report.

fxExpr = "cos(x) - x", dfxExpr = "-sin(x) - 1", x0 = 1, tolerance = 1e-10, maxIter = 50, decimalPlaces = 10

Outcome

The root converges to 0.7390851332 in 4 iterations, displaying rapid residual decay at each step.