https://numbas.mathcentre.ac.uk/question/101077/coefficient-of-restitution.zip?