expected value of uniform distribution proof