Bernoulli Distribution Mean and Variance Formulas