Gauss–Legendre algorithm: Difference between revisions

Content deleted Content added
See also
Algorithm: It's not immediately obvious where so many digits come from since the following line says number of correct digits doubles with each step.
Line 24:
:<math>\pi \approx \frac{(a_n+b_n)^2}{4t_n}.\!</math>
 
The first three iterations give (approximations given up to and including the first incorrect digit):
 
:<math>3.140\dots\!</math>