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