https://numbas.mathcentre.ac.uk/question/11885/calculate-expectation-variance-and-cdf-of-uniform-distribution/embed/