Calculate the population variance and the standard deviation of X as defined in Exercise R.2, using the definition given by equation (R.8).

Exercise R.2
A random variable X is defined to be the larger of the two values when two dice are thrown, or the value if the values are the same. Find the probability distribution for X.