https://numbas.mathcentre.ac.uk/question/39898/michael-s-copy-of-stat7008-calculate-probabilities/embed/