>>>>> "Sven" == Sven Bentlage <[EMAIL PROTECTED]> writes:

Sven> Hi everyone!
Sven> I am trying to write a program calculating pi.
Sven> The formula I would like to use is
Sven>           pi = 4x( (1/1) - (1/3) + (1/5) - (1/7) + (1/9) - (1/11) .... )
Sven> or
Sven>           $pi = 4x ( (1/$y) - ....)

Beware that's a very very very very slow convergence.
There are many better formulas.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to