Article View: comp.lang.pascal.delphi.misc
Article #731Re: Buffon's Needles
From: David C. Ullrich
Date: Thu, 24 Jun 1999 00:00
Date: Thu, 24 Jun 1999 00:00
53 lines
2978 bytes
2978 bytes
In article <7kss7t$522$1@fu-berlin.de>,
"Marco Lange" <marco.lange@gmx.de> wrote:
>
> Kwyxta <kwyxta@blaze.net.au> schrieb in im Newsbeitrag:
930210181.490291@diddley.primus.com.au...
> > I heard there is a programmatic way of not just estimating Pi, but
PROVING
> > it to any decimal precision. The problem is that the speed of the
algorithm
> > slows in a logarithmic fashion proportional to the precision... (eg.
doubly
> > long to calculate the next digit and so on)
>
> Then "exponentially" would be the right expression, it slows down
> exponentially. If this is true, the algorithm ist absolutely useless.
The Buffon needle thing _is_ absolutely useless as a practical
method for calculating Pi. It's not supposed to be a practical
algorithm for finding Pi (plenty of algorithms for that exist),
it's just a mathematical curiosity: hmm, if you do this you get
Pi, isn't that interesting.
> Say, if you need 1/1000 second to calculate 10 digits of PI, you would
> need 1.024 seconds to calculate 20 digits and 1048.576 seconds to
calculate
> 30 digits.
It's much worse than that (but again, it's not supposed to
be a practical method for doing the calculation). I once made a
little Buffon simulation gizmo - took a _long_ time to get
4 or 5 decimals right, if I recall correctly. (I _never_ got
much farther than that - even ignoring roundoff, you'd need a
very very good random number generator.)
> For only 50 digits you would need over one billion
seconds(!).
> I could do that myself much quicker.
>
> CU,
> Marco
>
> --
> ****************************************************
> * E-mail: marco.lange@gmx.de *
> * Homepage: http://www.marcolange.de *
> * ICQ: 35807782 *
> ****************************************************
>
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Technical Details
Message-ID:
<7ktoq6$bi2$1@nnrp1.deja.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7ks8ls$mgk$1@bgtnsc03.worldnet.att.net> <930210181.490291@diddley.primus.com.au> <7kss7t$522$1@fu-berlin.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10a726,d24982a2aa52a35f X-Google-Attributes: gid10a726,public X-Google-Thread: 105ac8,d24982a2aa52a35f X-Google-Attributes: gid105ac8,public X-Google-Thread: 10baee,d24982a2aa52a35f X-Google-Attributes: gid10baee,public X-Google-Thread: 10a7f1,d24982a2aa52a35f X-Google-Attributes: gid10a7f1,public From: David C. Ullrich <ullrich@math.okstate.edu> Subject: Re: Buffon's Needles Date: 1999/06/24 Message-ID: <7ktoq6$bi2$1@nnrp1.deja.com> X-Deja-AN: 493417145 References: <7ks8ls$mgk$1@bgtnsc03.worldnet.att.net> <930210181.490291@diddley.primus.com.au> <7kss7t$522$1@fu-berlin.de> X-Http-Proxy: 1.0 x26.deja.com:80 (Squid/1.1.22) for client 139.78.112.79 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Thu Jun 24 17:10:41 1999 GMT Newsgroups: comp.lang.pascal.delphi.misc,alt.comp.borland-delphi,de.comp.lang.pascal.delphi,fr.comp.lang.pascal X-Http-User-Agent: Mozilla/4.5 [en] (Win95; U)