Posted By

NihilistDandy on 02/04/11


Tagged


Versions (?)

Advanced Pi Approximation


 / Published in: Scheme
 

URL: http://www.reddit.com/r/math/comments/f9ije/if_pi_is_the_ratio_of_a_circles_circumference_to/c1ebrc7

Referencing the Machin-like formula in the linked reddit comment. Should be as exact as Scheme allows.

  1. (+
  2. (-
  3. (+
  4. (* 176 (atan (/ 1 57)))
  5. (* 28 (atan (/ 1 239))))
  6. (* 48 (atan (/ 1 682))))
  7. (* 96 (atan (/ 1 12943))))

Report this snippet  

You need to login to post a comment.