home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!not-for-mail
- From: edgar@function.mps.ohio-state.edu (Gerald Edgar)
- Newsgroups: sci.math
- Subject: Re: Pi Finder
- Date: 15 Dec 1992 09:37:58 -0500
- Organization: The Ohio State University, Dept. of Math.
- Lines: 31
- Message-ID: <1gkqk6INN1n0@function.mps.ohio-state.edu>
- References: <1992Dec14.165705.872@imag.fr>
- NNTP-Posting-Host: function.mps.ohio-state.edu
-
- In article <1992Dec14.165705.872@imag.fr> samama@imag.imag.fr (Marc Samama) writes:
- >Do you know what algorithms Mma uses to calculate Pi ?
-
- Mathematica's algorithms are mostly secret...
- Here is what you find in Maple:
-
- > interface(verboseproc=2);
-
- > evalf(Pi,100);
- 3.14159265358979323846264338327950288419716939937510582097494459\
- 2307816406286208998628034825342117068
-
-
- > print(`evalf/constant/Pi`);
- proc()
- local a,r,t;
- options `Copyright 1990 by the University of Waterloo`;
- if Digits <= 51 then
-
-
- and so on. The procedure to compute Pi is printed out for you.
- It seems that for <= 51 digits, it has Pi stored here. For <= 10000
- digits, it uses bigPi, stored in the library, and in general uses
- a hypergeometric function. No, it's not an arctangent.
-
-
- --
- Gerald A. Edgar Internet: edgar@mps.ohio-state.edu
- Department of Mathematics Bitnet: EDGAR@OHSTPY
- The Ohio State University telephone: 614-292-0395 (Office)
- Columbus, OH 43210 -292-4975 (Math. Dept.) -292-1479 (Dept. Fax)
-