Newton's method
Your GDC solves equations with no formula at all. Here is, in essence, how: follow the tangent down to the axis, and repeat.
the idea
The tangent at $x_n$ meets the $x$-axis at $x_{n+1}=x_n-\dfrac{f(x_n)}{f'(x_n)}$. Near a root, the number of correct digits roughly doubles at every step.
worked example
Solve $x^3-2x-5=0$, starting from $x_0=2$.
- $f(x)=x^3-2x-5$, $f'(x)=3x^2-2$.
- $x_1=2-\dfrac{-1}{10}=2.1$
- $x_2=2.1-\dfrac{0.061}{11.23}\approx2.094568$
- $x_3\approx2.0945515$: already 8 correct digits.
your turn
Use Newton's method on $f(x)=x^2-5$ with $x_0=2$ to approximate $\sqrt5$. Give $x_1$ and $x_2$.
$x_{n+1}=x_n-\dfrac{x_n^2-5}{2x_n}$: $x_1=2.25$, $x_2=\dfrac{161}{72}\approx2.23611$ (and $\sqrt5\approx2.23607$).
where it leads Numerical analysis: how computers solve equations, from engineering to finance.










