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/π. The most prominent and oft-used one is explained under the first section.
Contents |
[edit] Borwein's algorithm
Start out by setting
Then iterate
Then ak converges quartically against 1/π; that is, each iteration approximately quadruples the number of correct digits.
[edit] Quadratic convergence (1987)
Start out by setting
Then iterate
Then pk converges monotonically to π; with
for k > = 2
[edit] Cubic convergence (1991)
Start out by setting
Then iterate
Then ak converges cubically against 1/π; that is, each iteration approximately triples the number of correct digits.
[edit] Quartic convergence (1984)
Start out by setting
Then iterate
Then pk converges quartically against π; that is, each iteration approximately quadruples the number of correct digits. The algorithm is not self-correcting; each iteration must be performed with the desired number of correct digits of π.
[edit] Quintic convergence
Start out by setting
Then iterate
Then ak converges quintically against 1/π (that is, each iteration approximately quintuples the number of correct digits), and the following condition holds:
[edit] Nonic convergence
Start out by setting
Then iterate
Then ak converges nonically against 1/π; that is, each iteration approximately multiplies the number of correct digits by nine.
[edit] Another formula for π (1989)
Start out by setting
Then
Each additional term of the series yields approximately 31 digits.
[edit] Jonathan Borwein and Peter Borwein's Version (1993)
Start out by setting
Then
Each additional term of the series yields approximately 50 digits.
[edit] See also
- Gauss-Legendre algorithm - another algorithm to calculate π
- Bailey-Borwein-Plouffe formula