Department of Energy Argonne National Laboratory Office of Science NEWTON's Homepage NEWTON's Homepage
NEWTON, Ask A Scientist!
NEWTON Home Page NEWTON Teachers Visit Our Archives Ask A Question How To Ask A Question Question of the Week Our Expert Scientists Volunteer at NEWTON! Frequently Asked Questions Referencing NEWTON About NEWTON About Ask A Scientist Education At Argonne Computer determination of pi
Name: david m wentzlaff
Status: N/A
Age: N/A
Location: N/A
Country: N/A
Date: Around 1995


Question:
How can a computer be used to determine pi? Is it hard to understand? I know all the good approximations but how do you write a program to find pi?


Replies:
One of the best general articles related to the approximation of pi appeared in *Scientific American* Feb 1988, pp 112-118. Very readable and can be applied to your favorite programming language.

billrob


The methods given in the *Scientific American* article are based on the idea that a transcendental number may be obtained as the limit of a sequence. An algorithm based on Gregory's series of 1671 is presented and is, perhaps, the most "friendly," but unfortunately takes an enormous amount of computer time!

billrob



Click here to return to the Mathematics Archives

NEWTON is an electronic community for Science, Math, and Computer Science K-12 Educators, sponsored and operated by Argonne National Laboratory's Educational Programs, Andrew Skipor, Ph.D., Head of Educational Programs.

For assistance with NEWTON contact a System Operator (help@newton.dep.anl.gov), or at Argonne's Educational Programs

NEWTON AND ASK A SCIENTIST
Educational Programs
Building 360
9700 S. Cass Ave.
Argonne, Illinois
60439-4845, USA
Update: June 2012
Weclome To Newton

Argonne National Laboratory