Borwein's algorithm
Template:Short description Borwein's algorithm was devised by Jonathan and Peter Borwein to calculate the value of . This and other algorithms can be found in the book Pi and the AGM – A Study in Analytic Number Theory and Computational Complexity.[1]
Ramanujan–Sato series
These two are examples of a Ramanujan–Sato series. The related Chudnovsky algorithm uses a discriminant with class number 1.
Class number 2 (1989)
Start by setting[2]
Then
Each additional term of the partial sum yields approximately 25 digits.
Class number 4 (1993)
Start by setting[3]
Then
Each additional term of the series yields approximately 50 digits.
Iterative algorithms
Quadratic convergence (1984)
Start by setting[4]
Then iterate
Then pk converges quadratically to Template:Pi; that is, each iteration approximately doubles the number of correct digits. The algorithm is not self-correcting; each iteration must be performed with the desired number of correct digits for Template:Pi's final result.
Cubic convergence (1991)
Start by setting
Then iterate
Then ak converges cubically to Template:Sfrac; that is, each iteration approximately triples the number of correct digits.
Quartic convergence (1985)
Start by setting[5]
Then iterate
Then ak converges quartically against Template:Sfrac; 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 for Template:Pi's final result.
One iteration of this algorithm is equivalent to two iterations of the Gauss–Legendre algorithm. A proof of these algorithms can be found here:[6]
Quintic convergence
Start by setting
where is the golden ratio. Then iterate
Then ak converges quintically to Template:Sfrac (that is, each iteration approximately quintuples the number of correct digits), and the following condition holds:
Nonic convergence
Start by setting
Then iterate
Then ak converges nonically to Template:Sfrac; that is, each iteration approximately multiplies the number of correct digits by nine.[7]
See also
References
- ↑ Jonathan M. Borwein, Peter B. Borwein, Pi and the AGM – A Study in Analytic Number Theory and Computational Complexity, Wiley, New York, 1987. Many of their results are available in: Jorg Arndt, Christoph Haenel, Pi Unleashed, Springer, Berlin, 2001, Template:ISBN
- ↑ Template:Cite journal
- ↑ Template:Cite journal
- ↑ Template:Cite book
- ↑ Template:Cite book
- ↑ Template:Citation
- ↑ Template:Cite web
External links
- Pi Formulas from Wolfram MathWorld