The random experiment consists of tossing \(n\) coins, each with probability of heads \(p\). Random variable \(Y\) gives the number of heads, and random variable \(M\) gives the proportion of heads. These are recorded on each update in the data table. Either \(Y\) or \(M\) can be selected with the list box. The probability density function and moments of the selected variable are shown in blue in the distribution graph and are recorded in the distribution table. On each update, the empirical density function and moments of the selected variable are shown in red in the distribution graph and are recorded in the distribution table. The parameters \(n\) and \(p\) can be varied with scroll bars.