https://numbas.mathcentre.ac.uk/question/39886/michael-s-copy-of-mean-and-standard-deviation-from-a-frequency-table-with-classes-1c/embed/