2 (source code)

= 2
{scope}

The official course archive advertises https://courses.maths.ox.ac.uk/mod/resource/view.php?id=44720[an answer for this question]. Its four parts are omitted from the original solutions under the existing-answer policy.