Hello! This is just an interesting approximation of the constant pi with rational numbers that's easy to write in J. It gets more accurate as you increase the iteration count which is 9999 in this example. It's not a practical approximation though, as it converges very slowly.
+: */ */ 1 1 _1 _1 ^~ 2 2 1 3 +/ +: i. 9999 Ambrus ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
