Content deleted Content added
Mingbaozhi (talk | contribs) |
removed the wrong algorithm |
||
Line 13:
2. Repeat the following instructions until the difference of <math>a_n\!</math> and <math>b_n\!</math> is within the desired accuracy:
b_{n+1} & = \sqrt{a_n b_n}, \\
t_{n+1} & = t_n
p_{n+1} & = 2p_n.
\end{align}
Line 22:
3. π is then approximated as:
<math>\pi \approx \frac{
The first three iterations give (approximations given up to and including the first incorrect digit):
Line 31:
The algorithm has second-order convergent nature, which essentially means that the number of correct digits doubles with each step of the algorithm.
== Mathematical background ==
|