CalculatePi.sea.hqx Calculate Pi M. Mamo msm13@cus.cam.ac.uk A program to calculate Pi to a user-specified number of digits. The program uses the identity 9/4 = 6 arctan(1/8) + 2 arctan(1/57) + arctan(1/239) along with the Maclauren series for the arctangent function. At the prompt in the window, enter a digit between 10 and 1,000,010 and the program (eventually) returns that many digits of Pi. The program can be interupted in progress to view or save digits thus far computed. Computation can then be resumed. Author's warning: The value of pi produced by this program has been verified to 10,000 places. Tested using a PowerMac 7100 running system 7.5.1. -------------------------------------------------------------- Location in Mathematics Archives: Anonymous FTP: /mac/calculus /mac/miscellaneous /mac/numberTheory Gopher: (First select "Software" then "Macintosh software arranged by subjects") Calculus / Calculate Pi Miscellaneous / Calculate Pi Number Theory / Calculate Pi --------------------------------------------------------------