Let X be the value of a randomly selected decimal digit, that is, a whole number between 0 and 9, inclusive.
a. Use simulation to estimate the mean of X. Explain your reasoning.
b. Obtain the exact mean of X by applying Definition 5.9 on page 217. Compare your result with that in part (a).