Nth digit of PI
Roy Smith
roy at popmail.med.nyu.edu
Wed Jul 5 07:53:47 EDT 2000
Randall Hopper <aa8vb at yahoo.com> wrote:
> Pi^2/8 = sum(n=1..inf, 1/(2n-1)^2)
Interesting, I've never seen that one before.
It's not a very efficient way to compute pi (I know, that's not what you were
trying to do). A little experimentation shows that 1000 terms only gets you 4
significant digits correct, and 10,000 terms still only had 5!
--
Roy Smith <roy at popmail.med.nyu.edu>
New York University School of Medicine
More information about the Python-list
mailing list