ryukyu
- 19
- 0
Homework Statement
For the given flux density: \vec{D}=(2y2+z)\widehat{x}+(4xy)\widehat{y}^+(xz)\widehat{z}
a)Determine the charge density.
b)Find the total charge enclosed if the surface is 0<x<1, 0<y<1, 0<z<1 (unit cube)
c)Confirm Gauss’s law by finding the net flux through the surface of the volume.
Homework Equations
The Attempt at a Solution
I used divergence to find the \rhov=5x
To find Qenc I integrated \int\int\int5xdxdydz and came up with
Qenc=5/2 C
The last step I know is to verify that \oint\vec{D}dS=Qenc.
From what I gather since the divergence only has an x-component we will integrate only the x-component over the dxdydz, but this gives me 7/2. I'm guessing both are incorrect, but obviously at least one of them is.