Suppose the electric field in some region is found to be E=kr^3\hat{r} , in spherical coordinates (k is some constant).
(a) Find the charge density ρ.
(b) Find the total charge contained in a sphere of radius R, centered at the origin. (Do it two different ways.)