https://numbas.mathcentre.ac.uk/question/14021/clare-s-copy-of-apply-the-cosine-rule.zip?