Question 964892
The gradient is minus the derivative
grad = -1/2

grad = -dy/dx