Php pi help... (Loops)

Posted by James Rattray on Stack Overflow See other posts from Stack Overflow or by James Rattray
Published on 2010-06-16T21:57:43Z Indexed on 2010/06/16 22:02 UTC
Read the original article Hit count: 188

Filed under:
|

Is this iteration the best?

(Pi^2)/12 = 1 - 1/4 + 1/9 - 1/16 + 1/25 etc.

-For converging faster?

If not please answer with the iteration -preferably in the form above (an example) -not a splat of algebra ...

I'm doing this to find Pi to 1,000,000,000 places online.

http://www.zombiewrath.com/superpi.php or my 10,000 one: http://www.zombiewrath.com/pi.php

© Stack Overflow or respective owner

Related posts about php

Related posts about pi