https://numbas.mathcentre.ac.uk/question/36501/measures-of-central-tendency-from-frequency-tables/embed/