```Back to previous page```

``         ``

A  Mathematica program written  by the students in the first week of the summer physics project.

John Tate, Kuo-Chao Tseng, Mark De Jesus, Kathleen Kim, Anderea Johnson and Cindy Zer

1) Drop a ball and measure its height in centimeter.

```
```

2) Measure its bance five times for each drop height

3) Set number of bounces to five

4) Find the mean or the average value for each bounce

5) Make a list of the average values

```
```

6) Find the average deviation of the mean for each bounces

7) Make a list of these deviations

```
```

8) Form a table of the drop hight, bounce height and the errors associated with bounce hight.

```
```

9) Map two member list from step 8 an make a list consisting of drop height verses the bounce height.

```

```

10) Plot data points and use DisplayFunction->Idenetity to hide the plot

11) Do a linear square fit to above data and obtain an equation with height as an x-axes.

```
```

12) Plot this equation as bounce height verses the drop height

13) Combine the plots in step 10 and 12 without displaying them.

14) Load package for plotting data containig the errorbars.

15) Plot bounce with errorbars verses drop height.

16) Show fitted curve through data points and the errorbars together in one plot.

```
```

17) Load a package for plotting several lists with errors in x and errors in y values.

18) Map the ErrorBar on data with errors in the direction of the bounce,

```
```

19) make a new list of data with  ( + -) errorbars.

```
```

20) Plotbounce verses height and hide the plot.

21) Combine plot 2 in step 12 with plot 6 in step 20 and show them in one plot.

As you can see "Method 1" and "Method 2"  are very similar with an exception that method 2 is shorter, more efficient and it contains two short horizontal dashes avove and below each errorbars.