Borwein's algorithm
From Wikipedia, the free encyclopedia
In mathematics, Borwein's algorithm is an algorithm devised by Jonathan and Peter Borwein to calculate the value of 1/π. See also Bailey-Borwein-Plouffe formula.
It works as follows:
- Start out by setting
- Then iterate
Then ak converges quartically against 1/π; that is, each iteration approximately quadruples the number of correct digits.
[edit] See also
- Borwein's algorithm (others) for an explanation of other algorithms by Jonathan and Peter Borwein to determine the digits of π.
- Gauss-Legendre algorithm - another algorithm to calculate π
- Bailey-Borwein-Plouffe formula