https://numbas.mathcentre.ac.uk/question/33857/mean-and-standard-deviation-from-a-frequency-table-with-classes-1c/embed/