Skip to content

Commit b27e495

Browse files
chuanjakobkogler
authored andcommitted
Update roots_newton.md (cp-algorithms#442)
1 parent f7157b3 commit b27e495

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/num_methods/roots_newton.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The rate of convergence is quadratic, which, conditionally speaking, means that
2828

2929
Let's use the calculation of square root as an example of Newton's method.
3030

31-
If we substitute $f(x) = \sqrt{x}$, then after simplifying the expression, we get:
31+
If we substitute $f(x) = x^2 - n$, then after simplifying the expression, we get:
3232

3333
$$ x_{i+1} = \frac{x_i + \frac{n}{x_i}}{2} $$
3434

0 commit comments

Comments
 (0)