https://numbas.mathcentre.ac.uk/question/39213/cormac-s-copy-of-cormac-s-copy-of-apply-the-cosine-rule/embed/