https://numbas.mathcentre.ac.uk/question/44604/simon-s-copy-of-calculating-expected-values-given-/embed/