Suppose we generate a random variable X in the following way. First we ?ip a fair coin. If the coin is heads, take X to have a Unif(0,1) distribution. If the coin is tails, take X to have a Unif(3,4) distribution.
(a) Find the mean of X.
(b) Find the standard deviation of X.