Solution (source code)

= Solution

Differentiate the sum of squares in <Cartesian coordinates>:
$$
\boxed{\nabla(r^2)=(2x,2y,2z)=2\boldsymbol r.}
$$