How to start a Pi calculation

How to start a Pi calculation

Now this is something so cool I needed to share:)

How to use your machine to calculate the Pi value as far as 10k or even more after the comma?

Worm up your terminal, you CPU / GPU and put this line in:

echo "scale=10000; 4*a(1)" | bc -l 

The scale value is the number of decimal places you want to calculate.

Small warning, this make take some time, depending on how fast your machine is.

Enjoy!