Buffon's needle

Your browser needs java to view projects. Click here to install Java.

user_icon Jens* shared it 2 years, 1 month ago
user_icon Based on Jens's* project
472 views, 2 taggers, 8 people love it, 41 downloads, in 5 galleries
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
DrSuper DrSuper 10 months ago

Very nice. I was very impressed by this fact it is really cool to see it done. eventhough my Pi is getting a little too big 3.38...

Jens Jens* 10 months ago

Thanks, DrSuper! Actually Buffon's Needle will yield rather precise results if implemented correctly (i.e. with extremely thin 'needles' and regular distances between floor boards). But I wanted to demonstrate the funny method more than to create something exact. However, there are plenty of java-applets around in the net performing very accurately

(view all replies)
planetX planetX 1 year, 8 months ago

i was wonderig if you might want to enter this in the Scratch Pi Day Contest. See below links for more info. (link to project)">(link to project) (link to gallery)">(link to gallery)

funkymonkey funkymonkey 1 year, 8 months ago

it is closer to the actual pi in the beggining, then it slowley gets bigger. this is amazing programming

Jens Jens* 1 year, 9 months ago

hmm, forest, I actually have no idea...

forest forest 1 year, 9 months ago

just wanted to ask a question.. What is it that creates such a delay in processing that projects which work ok offline struggle to actually work online?

Giantfishy Giantfishy 1 year, 9 months ago

Pi? Pi is the circumference of a circle divided by the diameter. It's the same on every circle possible. I memorized it up to 21 decimal places. :) 3.141592653589793238462.

Arroz Arroz 1 year, 2 months ago

is all i remember

Arroz Arroz 1 year, 2 months ago

3.141592653589793238462643383279

Scratchie Scratchie 1 year, 9 months ago

What's pi?

NobodyKnowsNorune NobodyKnowsNorune 1 year, 10 months ago

wow

Paddle2See Paddle2See* 1 year, 11 months ago

I'm pretty certain I had to program this about 30 years ago as a homework assignment. At that time, it seemed to give a pretty accurate value of pi...maybe it was a different technique but it sure looks familiar. Maybe I can find my notes....Very interesting, even if not accurate.

1 year, 11 months ago

Yeah and Jens happens to be one of the best adult people programmers in my opinion he is really good! I like this project

Crazydylan Crazydylan 1 year, 11 months ago

Adudeok, So what if Jens is an adult? There can be adults on scratch to.

Adudeok Adudeok 1 year, 12 months ago

wait jens r u like serously a 40 yr old man?

Klovira Klovira 2 years ago

You is Crazy"

EdnaC EdnaC 2 years, 1 month ago

Jens, You've caused me to waste a bunch of time researching "Buffon's needle". Googling turned up legitimate sounding explainations of why the method should converge to pi, and others that claim you need to "cheat" by choosing the length of the needle relative to the distance between the joints. I'll have to waste even more time tomorrow trying to figure out what to believe. Very nice.

Jens Jens* 2 years, 1 month ago

This project does indeed *not* compute pi accurately, nor does it 'converge' progressively. It is just an illustration of a historical anectode which has in past times been actually tried by a number of rather serious scientists <grin>. If you're looking for something more precise please have a look at David Hellam's cool Monte Carlo project: (link to project)">(link to project)

Oldschooler2 Oldschooler2 2 years, 1 month ago

This gets very inaccurate when the "value" of "pi" is greater than or less than approximately 3.1415926 (the true value of pi). This project sets the value of pi completely off, because the value of pi is always constant, and this is just a rational number value stated for pi, but pi is an irrational number.

Chimpanzee Chimpanzee 2 years, 1 month ago

try this (link to project)">(link to project)

MyRedNeptune MyRedNeptune 2 years, 1 month ago

Wow. I like the praphics.

chalkmarrow chalkmarrow 2 years, 1 month ago

Cool. I remember this. Converges slower than I expected.

Please Wait...