Gauss-Legendre Approximation of Pi
Gauss-Legendre Approximation of Pi
This Demonstration gives a Gauss–Legendre approximation of . With the initial values
π
a
0
b
0
1
2
t
0
1
4
p
0
and using the recurrence relations
a
n+1
(+)
a
n
b
n
2
b
n+1
a
n
b
n
t
n+1
t
n
2
p
n
a
n
a
n+1
p
n+1
p
n
we can approximate by
π
2
(+)
a
n
b
n
4
t
n
This converges very quickly as you can see by increasing .
n