Expected value

PrepNuggets

E(X) = P(Xi) Xi