Calculating Probabilities and Expectations