The gradient is a vector field with components $\nabla f = \left(\frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}\right)$.
Step 2:
Let's denote $r = \sqrt{x^2+y^2}$ for simplicity. Then $f(x,y) = \sin(r)$.
Step 3:
Calculate the partial derivative
Show more…