https://numbas.mathcentre.ac.uk/question/46576/functions-and-critical-points.zip?