# Gradient – A scalar field of x multiplied by an exponential function – Exercise 4262

Exercise

Calculate the gradient of the scalar field

$$u=xe^{|\vec{r}|}$$

Where

$$\vec{r}=x\vec{i}+y\vec{j}+z\vec{k}$$

At point (0,1,0).

$$\nabla u(0,1,0)=e\vec{i}+0\vec{j}+0\vec{k}$$