# Difference between revisions of "SOCR EduMaterials Activities BuffonNeedleExperiment"

## Description

The Buffon’s Needle Experiment involves dropping a needle on hardwood floor with floorboards of width 1. The experiment is shown graphically in the first graph box.

The angle X of the needle relative to the floorboard cracks and the distance Y from the center of the needle to the lower crack are recorded in the first table on each update. In the distribution table which is the distribution table, the values of the density of I, empirical density of I are recorded, where variable I indicates the event that the needle crosses a crack. The values of pi and Buffon’s estimate of pi are recorded in the last table.

Each point (X,Y) is shown as a red dot in the scatter plot. The density of I is shown in blue and the empirical density of I is shown in red in the distribution graph. In the last graph, pi is shown in blue and the Buffon’s estimate of pi is shown in red.

The parameter is the needle length L which can be modified with the scroll bar.

## Goal

To provide a simulation that describes the probability of random events and to justify hypotheses and estimations. This demonstration should provide a better understanding and knowledge regarding calculus based probability.

## Experiments

Go to the SOCR Experiment [[1]] and select the Buffon Needle Experiment from the drop-down list of experiments on the top left. The image below shows the initial view of this experiment:

When pressing the play button, one trial will be executed and recorded in the distribution table below. The fast forward button symbolizes the nth number of trials to be executed each time. The stop button ceases any activity and is helpful when the experimenter chooses “continuous,” indicating an infinite number of events. The fourth button will reset the entire experiment, deleting all previous information and data collected. The “update” scroll indicates nth number of trials (1, 10, 100, or 1000) performed when selecting the fast forward button and the “stop” scroll indicates the maximum number of trials in the experiment.

With the initial conditions, the distribution graph displays a lower value, I, in which the needle has a lesser chance of crossing a crack (1=success, 0=failure). After many trials, the empirical density graphs (red) should look similar to the density graph (blue), and the Buffon’s pi estimate (red) should look similar to the pi graph (blue).

When L increases, the probability that the needle will cross a crack also increases. This is shown in the image below:

When L decreases, the probability that the needle will cross a crack also decreases. This is shown in the image below:

## Applications

The Buffon’s Needle Experiment is a simulation that is applicable for anyone to describe calculus based probability events. This java applet may be used for many different types of activities.

One example may be for throwing darts onto a dart board. When using a dart made of a fixed material, a shorter length dart will have lighter weight so it may be easier to control the dart, thus there will be a higher chance that the dart will land within the target. But a longer dart may experience more air resistance and have a heavier weight, causing the probability to land within the target to decrease.