A recipe for beating the record of most-calculated digits of piA recipe for beating the record of most-calculated digits of pi

Editor’s note: Today, March 14, is Pi Day (3.14). Here at Google, we’re celebrating the day with a new milestone: A team at Google has broken the Guinness World RecordsTM title for most accurate value of pi.

Whether or not you realize it, pi is everywhere you look. It’s the ratio of the circumference of a circle to its diameter, so the next time you check your watch or see the turning wheels of a vehicle go by, you’re looking at pi. And since pi is an irrational number, there’s no end to how many of its digits can be calculated. You might know it as 3.14, but math and science pros are constantly working to calculate more and more digits of pi, so they can test supercomputers (and have a bit of healthy competition, too).

While I’ve been busy thinking about which flavor of pie I’m going to enjoy later today, Googler Emma Haruka Iwao has been busy using Google Compute Engine, powered by Google Cloud, to calculate the most accurate value of pi—ever. That’s 31,415,926,535,897 digits, to be exact. Emma used the power of the cloud for the task, making this the first time the cloud has been used for a pi calculation of this magnitude.

Here’s Emma’s recipe for what started out as a pie-in-the-sky idea to break a Guinness World Records title:

Step 1: Find inspiration for your calculation.

When Emma was 12 years old, she became fascinated with pi. “Pi seems simple—it starts with 3.14. When I was a kid, I downloaded a program to calculate pi on my computer,” she says. “At the time, the world record holders were Yasumasa Kanada and Daisuke Takahashi, who are Japanese, so it was really relatable for me growing up in Japan.”

Later on, when Emma was in college, one of her professors was Dr. Daisuke Takahashi, then the record holder for calculating the most accurate value of pi using a supercomputer. “When I told him I was going to start this project, he shared his advice and some technical strategies with me.”

Step 2: Combine your ingredients.

To calculate pi, Emma used an application called y-cruncher on 25 Google Cloud virtual machines. “The biggest challenge with pi is that it requires a lot of storage and memory to calculate,” Emma says. Her calculation required 170 terabytes of data to complete—that’s roughly equivalent to the amount of data in the entire Library of Congress print collections.

Disclaimair

http://eduois.com currently holds no ownership of the content is publishing on this website. thecelebdiary.com gives full credits to the owner (website) at the end of every posts. If you require any more information or have any questions about our site or want to remove the content, please feel free to contact us by email at admin@appelab.com