https://numbas.mathcentre.ac.uk/question/45597/tom-s-copy-of-calculate-the-measures-of-central-tendency-for-a-sample/embed/