You are here: Home → Forums → 1,000 Digits Of Pi → Methods of approximation
Add a reply
A 29degrees diversion |
pi/4 = 1 - 1/3 + 1/5 -1/7 + 1/9 ...
But it converges much too slowly to be useful...I don't think it's possible to get 1000 digits of precision in the 4-second time limit.
Now I'm using Machin's formula plus the Taylor series approx for arctan:
pi/4 = 4*arctan(1/5) - arctan(1/239)
arctan(x) = x - x^3/3 + x^5/5 - x^7/7 + x^9/9 ...
Anyone else care to suggest a good approximation function for this challenge?