M and M Applet

How it works: Students can sample numerous bags of M&Ms. A plot of the relative frequency of each color is continually updated above the sampling frame. Each sample bag of M&Ms contains 56 candies.

Parameters (all are optional):

<PARAM name=letterwait value="30" > - (optional) time in milliseconds between displaying letters when the user takes action. The deafult is 30.
<PARAM name=singlewait value="200" > - (optional) time between when the pausestring is displayed and results are updated. The deafult is 200.
<PARAM name=pausestring value="Sampling!" > - (optional) string to be spelled out when an action is taken by the user. The default is "Sampling!".