in reply to to calculate the value of π

This also sounds like homework. Please show what you have tried.

Also, please note that this should have been posted in SoPW, not meditations. It has been moved.

--MidLifeXis

Replies are listed 'Best First'.
Re^2: to calculate the value of π
by Laurent_R (Canon) on Sep 04, 2013 at 17:51 UTC

    That was also my first reaction, it really looks like homework.

Re^2: to calculate the value of π
by atcroft (Abbot) on Sep 05, 2013 at 03:47 UTC

    I remember when I was in college one semester my calculus instructor (who was also the computer science instructor) gave us a scenario in which we had to compute how many steps we needed to perform using the same (Taylor?) series, to generate the value for a particular accuracy. (In one of my computer science classes that same semester {in either Fortran or Pascal-memory fails me now as to which}, she had us implement it.)

    Thanks, OP, for a reminder of some good times. :)