Gauss–Legendre algorithm: Difference between revisions

Content deleted Content added
Algorithm: There was an obvious error in the sequence t_n, which made the procedure divergent and which was inconsistent with the 'Mathematical background' section.
Line 15:
<math> \begin{align} a_{n+1} & = \frac{a_n + b_n}{2}, \\
b_{n+1} & = \sqrt{a_n b_n}, \\
t_{n+1} & = t_n - p_n((a_{n+1})^2 - (b_a_{n+1})^2), \\
p_{n+1} & = 2p_n.
\end{align}