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