Borwein's algorithm (others)
From Wikipedia, the free encyclopedia
Jonathan and Peter Borwein devised various algorithms to calculate the value of π. The most prominent and oft-used one is explained under Borwein's algorithm and Bailey-Borwein-Plouffe formula. Other algorithms found by them include the following:
- Quadratic convergence, 1987:
- Start out by setting
- Then iterate
Then pk converges monotonically to π; with
for k > = 2
- Start out by setting
- Cubical 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.
- Start out by setting
- Quartical 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 π.
- Start out by setting
- Quintical 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:
- Start out by setting
- Nonical 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.
- Start out by setting
- Another formula for π, 1989:
- Start out by setting
- Then
Each additional term of the series yields approximately 31 digits.
- Start out by setting
- Jonathan Borwein and Peter Borwein, 1993:
- Start out by setting
- Then
Each additional term of the series yields approximately 50 digits.
- Start out by setting