Jump to content

Borwein's algorithm (others)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Qxz (talk | contribs) at 03:35, 24 March 2007 (Revert edit(s) by R00723r0 to last version by R00723r0). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

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.

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 π.

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:

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.

Another formula for π (1989)

Start out by setting

Then

Each additional term of the series yields approximately 31 digits.

Jonathan Borwein and Peter Borwein (1993)

Start out by setting

Then

Each additional term of the series yields approximately 50 digits.