Gauss-Legendre Approximation of Pi

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

This Demonstration gives a Gauss–Legendre approximation of . With the initial values

[more]

, , ,

and using the recurrence relations

, , , ,

we can approximate by

.

This converges very quickly as you can see by increasing .

[less]

Contributed by: Russ Johnson