Saturday, March 19, 2011

Computing Pi to trillions of digits

Some fellows attempted a world record for computing Pi to 5 trillion digits. The page gives a fairly detailed outline of how they achieved this feat. The detailed specifications of the hardware and software used have also been included. Contrary to my assumption, this attempt ran on a PC with server class components instead of some cluster. Although they did use software for bit error correction.

Many people think of the question "why?" when they come across a record like this. None of the current technologies require Pi to this degree of precision. These folks have answered the question of "why" like this "Because it's Pi ... and because we can".
I have often wondered how (but not why) the digits of Pi are calculated. Some of the world records boast of trillions of digits accuracy. So far the only formula I knew was one discovered by Ramanujan

This blog post attempts to shed some light on the state of the art algorithms employed for this feat.

In case you are still wondering why would one compute Pi to so many digits of accuracy. Rest assured, AFAIK there's no real use !!

This is a combined re-write of two of my buzz posts:
  1. Algorithms employed for the world record holder calculations of Pi
  2. Attempted world record for computing Pi to 5 trillion digits
Thanks to all my friends who added lots of information to my knowledge base through comments in Buzz, Facebook and Twitter.

 

Thursday, March 17, 2011

Happy Holi

Wishing you all Happy Holi.


May this festival of colours bring new hues to you life.
 

Sunday, March 06, 2011

Fountain pen of a left-hander

These days its becoming increasingly rare to see fountain pens. Very few people seem to be still using them on a regular basis. Personally I like the comfort associated with it, but dislike the fact the ink is not waterproof. So one drop of water in the paper, and whatever you have written is gone.

It was a pleasant surprise for me to find out that a PhD student of IISc, Abhijit Khopkar uses a fountain pen, that too on a regular basis. One day for some reason, I borrowed his pen. "Something is wrong" was my first reaction trying to write with it. After some thought, I figured out that the nib of the fountain pen was tilted at an unnatural angle. Finally it dawned on me that Abhijit is a lefty and his writing angle does not match that of mine.

This was something which is quite obvious, but is hard to figure out by itself. Later I tried doing some research on this in internet. Seems this is quite an established fact. However the same is not true for other variety of pens like ball-point, roller, hi-techpoint due to a variety of reasons like the overall symmetry of the nib and the low usage of the nib compared to fountain pens.