Advanced Pi Approximation


/ Published in: Scheme
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. (+
  2. (-
  3. (+
  4. (* 176 (atan (/ 1 57)))
  5. (* 28 (atan (/ 1 239))))
  6. (* 48 (atan (/ 1 682))))
  7. (* 96 (atan (/ 1 12943))))

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.