From: Daniel Moore Date: 2009-04-25T06:05:13+09:00 Subject: [QUIZ] Digits of Pi (#202) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Quiz: 1. Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this message was sent. 2. Support Ruby Quiz by submitting ideas and responses as often as you can! Visit: 3. Enjoy! Suggestion: A [QUIZ] in the subject of emails about the problem helps everyone on Ruby Talk follow the discussion. Please reply to the original quiz message, if you can. RSS Feed: http://rubyquiz.strd6.com/quizzes.rss -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ## Digits of Pi (#202) Geia sas Rubyists, Pi or ð is a mathematical constant whose value is the ratio of any circle's circumference to its diameter in Euclidean space. Because ð is an irrational number, its decimal expansion never ends and does not repeat. This infinite sequence of digits has fascinated mathematicians and laymen alike, and much effort over the last few centuries has been put into computing more digits and investigating the number's properties.[1] This week's quiz is to write a Ruby program that can compute the first 100,000 digits of ð. [1]: http://en.wikipedia.org/wiki/Pi Have Fun! -- -Daniel http://rubyquiz.strd6.com