I will answer this question:
"Suppose X is a random variable best described by a probability distribution given as:
f(x) = 1/25 , 20 <= x <= 45.
f(x) = 0 otherwise"
Then has a uniform distribution on , or . Now we
can calculate the mean as:
or we can use the fact that we know that the mean is the midpoint of the