- #1

- 59

- 9

## Homework Statement

Find te gradient of the following function f(r) = rcos(##\theta##) in spherical coordinates.

## Homework Equations

\begin{equation}

\nabla f = \frac{\partial f}{\partial r} \hat{r} + (\frac{1}{r}) \frac{\partial f}{\partial \theta} \hat{\theta} + \frac{1}{rsin\theta} \frac{\partial f}{\partial \phi} \hat{\phi}

\end{equation}

## The Attempt at a Solution

I know that z = rcos##\theta##

But I don't know where to go from there since I don't see any ##\hat{r}##, ##\hat{\theta}##, ##\hat{\phi}##