The expectation or expected value of a random variable is a single number that tells you a lot about the behavior of the variable. Roughly, the expectation is the average value, where each value is weighted according to the probability that it comes up. Formally, the expected value of a random variable r defined on a sample space s is: (B)=∑R()Pr(o) To appreciate its signficance, suppose S is the set of students in a class, and we select a student uniformly at random. Let r be the selected student's exam score. Then