This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Grad

Grad[f]
gives the gradient, , of the scalar function f in the default coordinate system.

gives the gradient of f in the coordinate system coordsys.
Gradient of a function in Cartesian coordinates:
Recover the original function using DSolve:
Needs["VectorAnalysis`"]
Gradient of a function in Cartesian coordinates:
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Recover the original function using DSolve:
In[5]:=
Click for copyable input
Out[5]=
In[6]:=
Click for copyable input
Out[6]=