http://www.perlmonks.org?node_id=1052337

TimTim has asked for the wisdom of the Perl Monks concerning the following question:

How to calculate the value of Pi; for the given below infinite series. The output need to be printed after each term is added, stoping after a specified term.. so teh current value need to be printed after each iteration. Pi; = 4-(4/3)+(4/5)-(4/7)+(4/9)-(4/11)....