\sin\left(x^{2}+y^{2}\right)=\frac{\partial}{\partial x}=\cos(x^{2}+y^{2})\cdot2x=\frac{\partial}{\partial y}=\cos(x^{2}+y^{2})\cdot2y