https://numbas.mathcentre.ac.uk/question/6601/julie-s-copy-of-mean-from-a-frequency-table-classes/embed/