https://numbas.mathcentre.ac.uk/question/41938/construct-a-probability-distribution-function-then/embed/