Borwein's algorithm
|
|
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (April 2009) |
In mathematics, Borwein's algorithm is an algorithm devised by Jonathan and Peter Borwein to calculate the value of 1/π.
Contents |
[edit] Jonathan Borwein and Peter Borwein's Version (1993)
Start out by setting[citation needed]
Then
Each additional term of the series yields approximately 50 digits.
[edit] Cubic convergence (1991)
Start out by setting[citation needed]
Then iterate
Then ak converges cubically to 1/π; that is, each iteration approximately triples the number of correct digits.
[edit] Another formula for π (1989)
Start out by setting[citation needed]
Then
Each additional term of the partial sum yields approximately 31 digits.
[edit] Quadratic convergence (1987)
Start out by setting[1]
Then iterate
Then pk converges monotonically to π; with pk - π ≈ 10−2k+1 for k ≥ 2.s
[edit] Borwein's algorithm (1985)
Start out by setting[2]
Then iterate
Then ak converges quartically against 1/π; that is, each iteration approximately quadruples the number of correct digits.
[edit] Quartic convergence (1984)
Start out by setting[3]
Then iterate
Then pk converges quartically to π; 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[citation needed]
Then iterate
Then ak converges quintically to 1/π (that is, each iteration approximately quintuples the number of correct digits), and the following condition holds:
[edit] Nonic convergence
Start out by setting[citation needed]
Then iterate
Then ak converges nonically to 1/π; that is, each iteration approximately multiplies the number of correct digits by nine.
[edit] See also
- Gauss–Legendre algorithm - another algorithm to calculate π
- Bailey-Borwein-Plouffe formula
[edit] References
- ^ Jean-Luc Chabert et al (1999). A History of Algorithms: From the Pebble to the Microchip. Springer-Verlag. p. 166. ISBN 3-540-63369-3.
- ^ Mak, Ronald (2003). The Java Programmers Guide to Numerical Computation. Pearson Educational. p. 353. ISBN 0-13-046041-9.
- ^ Arndt, Jörg; Haenel, Christoph (1998). π Unleashed. Springer-Verlag. p. 236. ISBN 3-540-66572-2.
- Pi Formulas from Wolfram MathWorld






![\begin{align} x_0 & = \sqrt2 \\
y_1 & = \sqrt[4]2 \\
p_0 & = 2+\sqrt2
\end{align}](http://upload.wikimedia.org/wikipedia/en/math/5/d/2/5d2a9c17bb1eb65506e09c0eb5fee73a.png)









