https://numbas.mathcentre.ac.uk/question/11954/principle-value-of-a-complex-number.zip?