https://numbas.mathcentre.ac.uk/question/20822/alex-s-copy-of-construct-a-probability-distribution-function-then-find-cdf-and-expectation/embed/