We don't bite newbies here... much | |
PerlMonks |
to calculate the value of πby TimTim (Initiate) |
on Sep 04, 2013 at 13:09 UTC ( [id://1052337]=perlquestion: print w/replies, xml ) | Need Help?? |
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)....
Back to
Seekers of Perl Wisdom
|
|