which term is calculated by summing the product of the square of the difference between the value of a the random variable and the expected value and the associated probability of the value of the random variable taken overall if the values and random variable and finally taking the squared root?