Thread: Happy Pi day!
View Single Post
  #30   Spotlight this post!  
Unread 14-03-2006, 17:31
sw293 sw293 is offline
Former Coach (2005)
AKA: Scott Weingart
FRC #0293 (SPIKE)
Team Role: College Student
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Pennington, NJ
Posts: 123
sw293 is a glorious beacon of lightsw293 is a glorious beacon of lightsw293 is a glorious beacon of lightsw293 is a glorious beacon of lightsw293 is a glorious beacon of lightsw293 is a glorious beacon of light
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
Reply With Quote