We can get PI value through the formula

2(21x3)(43x5)(65x7)(87x9)(109x11)... and so far

equivalent to 2(43)(1615)(3635)(6463)(10099)...

which results

3,1415926535897932... and so far

If we run a thousand terms, we get only PI=3,14 and error from the third decimal place. Although we run a million terms

2(43)(1615)(3635)(6463)(10099)... (40000000000003999999999999)

we get a poor answer, PI=3,14159 and error from the sixth decimal place. Check it. Input a number (from 1 to a million). Don't exceed a million, because you'll get a slow answer:

N of terms
PI Value
© 21/09/2008 Atualizada em 21/09/2008