Charge density from electric flux density

1. Apr 19, 2014

freezer

1. The problem statement, all variables and given/known data

Determine the charge density due to the following electric flux density:

$$\overrightarrow{D} = \hat{r}4rsin(\phi ) + \hat{\phi}2rcos(\phi)+\hat{z}2z^{2}$$

2. Relevant equations

$$\rho _{v} = \triangledown \cdot \vec{D}$$

$$\rho _{v} = \frac{\partial }{\partial r} + \frac{\partial }{\partial \phi}+ \frac{\partial }{\partial z}$$

3. The attempt at a solution

$$\rho _{v} = \frac{\partial }{\partial r} 4rsin(\phi) + \frac{1}{r}\frac{\partial }{\partial \phi}2rcos(\phi)+ \frac{\partial }{\partial z}2z^{2}$$

$$\rho _{v} = 4sin(\phi)- 2sin(\phi) + 4z$$

$$\rho _{v} = 2sin(\phi) + 4z$$

does this look correct?

Last edited: Apr 19, 2014
2. Apr 20, 2014

rude man

There is a term missing here.

3. Apr 20, 2014

freezer

I am not seeing it. For cylindrical I am only seeing the 1/r on the phihat term

4. Apr 20, 2014

rude man

Stick a term 4sinø in there somewhere, anywhere. No partial derivative. Just that term. (It's part of the rhat coefficient: 4rsinø/r).