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