mean of continuous random variable example