The M&M Activity

**
**

Click on the appropriate link.

Done the other sections of the lesson.

DIRECTIONS FOR THOSE WHO HAVE DONE THE OTHER SECTIONS:

- Download the M&M Activity spreadsheet.
- Take a handful of the M&Ms or Skittles and count how many there are. This is trial 0.
- Enter in the spreadsheet in cell C5 the amount of candy you counted.
- Pick up the candy in both hands, shake them up and drop them. Count the pieces that have the M (or S) facing upward. Eat those that do not.
- In the spreadsheet in cell B6, enter 1 for this trial. In cell C6, place how many candies you have left after your first trial.
- Repeat the trials until there are no candies left. In the spreadsheet, make sure to keep track of the trial number and the amount of candy left after each trial.
Note: Delete the last data point (where the amount of candy = 0). Do not use it in your analysis.

- Use the spreadsheet, as in previous sections, to find the best-fitting curve to the M&M data.

LN() - LN(A12) or LN(100). Finds the natural log of a cell.

SUM() - SUM(A12:A21). Finds the sum of the values in cells A12 through A21.

AVERAGE() - AVERAGE(A12:A21). Finds the average of cells A12 through A21.

EXP() - EXP(2) or EXP(A12). Finds e2 or eA12** .**

**
**ABS() - ABS(-3) or ABS(A12). Finds the absolute value of a cell.

DIRECTIONS FOR THOSE WHO HAVE NOT DONE THE OTHER LESSONS:

- Download the M&M Activity spreadsheet.
- Take a handful of the M&Ms or Skittles and count how many there are. This is trial 0.
- Enter in the spreadsheet in cell C5 the amount of candy you counted.
- Pick up the candy in both hands, shake them up and drop them. Count the pieces that have the M (or S) facing upward. Eat those that do not.
- In the spreadsheet in cell B6, enter 1 for this trial. In cell C6, place how many candies you have left after your first trial.
- Repeat the trials until there are no candies left. In the spreadsheet, make sure to keep track of the trial number and the amount of candy left after each trial.
Note: Delete the last data point (where the amount of candy = 0). Do not use it in your analysis.

- Find the
**natural log**of each candy data point in column D. - In cells B23 and D23 find the
**sum**of each list and in cells B24 and D24 find the**mean**. In cell D25, calculate e raised to the mean. - The first guess for
**b**will be found in cell E8. Enter this first guess in cell E11. The coefficient**a**will be calculated automatically. - Using your first guess for the equation, find the predicted values for the number of candies in column F.
- In column G find the
**error**between the predicted values and the actual data. - In column H find the
**absolute value of the error**. - In column J find the
**square of the error**. - In cell J24 find the
**mean of the square error**. - Adjust the value for
**b**in cell E7 to find the value that gives the minimum mean square error. - Find the equation of the best-fitting curve.

LN() - LN(A12) or LN(100). Finds the natural log of a cell.

SUM() - SUM(A12:A21). Finds the sum of the values in cells A12 through A21.

AVERAGE() - AVERAGE(A12:A21). Finds the average of cells A12 through A21.

EXP() - EXP(2) or EXP(A12). Finds e2 or eA12** .**

**
**ABS() - ABS(-3) or ABS(A12). Finds the absolute value of a cell.