OhMyCalc

Newton's Method Square-Root Calculator

Apply Newton's iterative method to compute √a. Each step uses x_{n+1} = x_n − f(x_n)/f'(x_n) for f(x) = x² − a, so x_{n+1} = (x_n + a/x_n) / 2.

How to Use the Newton's Method Square-Root Calculator

  1. Enter the non-negative value a.
  2. Enter an initial guess x₀ (try 1 if unsure).
  3. Pick the number of iterations.
  4. Click Calculate.

Use Cases

Formula

x_{n+1} = x_n − (x_n² − a) / (2·x_n). Quadratic convergence — 3–5 iterations are typically enough for double precision.

Frequently Asked Questions

Why Newton's method?
For well-behaved functions Newton's method converges quadratically — the number of correct digits roughly doubles each step. For √a it works for any positive initial guess.
What happens if the guess is bad?
A bad initial guess (too small or zero) slows convergence; starting with x₀ ≈ a/2 or x₀ = 1 is usually sufficient to reach machine precision in ~5 iterations.