|
Re: Happy Pi day!
Quote:
|
Originally Posted by TJ09
Well it's 33554432 digits+1 space per 10 digits (~3355443 spaces)=36909875
1 byte per character
36909875/1024 bytes per KB/1024 KB per MB = 35.19 MB, which compresses to ~18 MB. (Apparantly text files compress well.)
|
If you have mathematica and a decent machine you'd be better off using that. Mathematica uses a very fast algorithm due to Chudnovsky. There are also programs available online that can calculate pi to a large number of digits very rapidly.
__________________
Team 293
Uncrowned Champions, 2005 Philadelphia Regional
Champions, 2007 Chesapeake Regional
|