https://numbas.mathcentre.ac.uk/question/46525/calculate-probabilities-from-frequency-table.zip?scorm=