https://accurate.st-andrews.ac.uk/project-objectives/task-4/task-4c/
Task 4c