Tech

Using cloud computing, a Google Cloud employee calculates the first 100 trillion digits of Pi

Using the company’s cloud service, a Google Cloud employee and developer Emma Haruka Iwao calculated the first 100 trillion digits of Pi, making her the first person to ever know a number with units. hundreds of trillions. Google is currently working with Guinness World Records to officially confirm her achievement.

This is the second time Iwao has achieved such a milestone – in 2019, she once set a record when she calculated the first 31.4 trillion digits of Pi. She said: “Pi number has been my passion since childhood“, and recalls using a program called Super Pi when he was 10 years old to calculate about 1 million digits of this legendary constant.

Using cloud computing, a Google Cloud employee calculates the first 100,000 billion digits of Pi - Photo 1.

Pi, a constant that indicates the ratio of a circle’s circumference to its diameter, cannot be expressed exactly as a fraction, so it can be calculated and represented as a series of numbers of arbitrary length. . Calculating long sequences of Pi has long been a challenge for amateur and professional mathematicians and computer scientists.

Iwao said that the significant jump from 2019 to now is due to increased processing capacity for Google’s Compute Engine service, including faster processors, faster data storage, and increased network capacity for concurrency. hardware suite with the calculation.

It’s a step that I hope will get people excited about the cloud and encourage them to use the cloud for their programs.,” said Iwao.

Google is currently releasing a demo of this program – posted on GitHub – so that anyone can compute a small number of Pi numbers in their cloud.

Using cloud computing, a Google Cloud employee calculates the first 100 trillion digits of Pi - Photo 2.

Google Cloud Developer Emma Haruka Iwao

Google did not disclose the cost of this calculation, but revealed that the program used 128 virtual processors and 864 GB of memory and ran for 157 days. In total, the program consumed up to 82,000 TB of data – the equivalent of storing 2,598 years of HD movies. Iwao also uses a free program called y-cruncher and works with its creator, Alexander J. Yee, to validate the calculation results.

To verify this result, Iwao used an algorithm to generate a segment of Pi’s digits without knowing the digits that preceded it. Using this algorithm, Iwao was able to verify that the last few digits of his calculation were correct, meaning that nearly all the digits before it were also correct. Iwao also compares the first digits with the results of other people’s calculations.

Now the results of Iwao’s calculations are also stored in the cloud – so anyone can download the entire 100 trillion digits or use a programming interface to view specific digits in the calculation. . While scientists and engineers usually don’t need the first 100,000 billion digits of Pi for their exact calculations, Iwao says people are interested in the distribution of different digits in the constant. this number.

Iwao also hopes the project helps people realize the power of cloud computing for science in general. And she imagines that as the technology continues to improve, it won’t be the last time she calculates the digit Pi with such impressive lengths.

Refer to Fastcompany

You are reading the article Using cloud computing, a Google Cloud employee calculates the first 100 trillion digits of Pi
at Blogtuan.info – Source: genk.vn – Read the original article here

Leave a Reply

Your email address will not be published.

Back to top button