HP Forums

Full Version: Calculating Pi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I was thinking of calculating Pi for fun and found this:

http://www.wikihow.com/Calculate-Pi-by-Throwing-Frozen-Hot-Dogs

May be old news here!

Quote:
May be old news here!

I do not know if this has been discussed here earlier, but this experimental way of evaluating Pi actually is a well known method. However, the original implementation does not use hot dogs and floor tiles, but a box of pins and a sheet of squared paper. ;-)

BTW, I own a more than 30 years old book with sample programs for teaching computer science. One of the shown Pi-algorithms actually is this experimental toss-a-hot-dog method.

Dieter

That's the wurst way to calculate Pi, IMO :-)

Gerson.

Buffon's needle I believe.

I'm sure a worse way to calculate PI can be invented :)


- Pauli

Quote:
Buffon's needle I believe.

Yes.

Quote:
I'm sure a worse way to calculate PI can be invented :)

Yes, like the one above that uses wursts instead of needles :-)

Gerson.

I was trying to come up with a formula for PI based on the divergence of the sum of the reciprocals of the primes, a very very slowly diverging series. No success at this point :(


- Pauli

"The wurst way"...OMG you guys are impossible! That's why I love you all. And yes, Buffon's needle...dropping needles on a flag

Thanks for these links! Looks like I'll be busy for a while!

And forgive the delay, had to wait until I was on the computer that logs me in automatically. Can't seem to remember how to do that when I'm away from my main machine (its 24" CRT monitor frame is covered in sticky notes with all my logins!). Getting old!

I have presented a few empirical formulas to speed up Archimede's Method here and here. In the second link there's an hp 50g program to compute pi to 1,000 places in "only" three hours using such method . Other very interesting pi-related links in there as well.

Edited: 27 Sept 2013, 11:06 p.m.