https://numbas.mathcentre.ac.uk/question/44747/simon-s-copy-of-simon-s-copy-of-calculating-gradient/embed/