Problem
muffler device
In a certain region of space, the electric field is constant in direction (say horizontal, in the direction), but its magnitude decreases from at to at . Determine the charge within a cubical box of side , where the box is oriented so that four of its sides are parallel to the field lines
Solution
Out of 6 faces the cube has, only the left and the right face contributes, since the electric field, , is perpendicular to the surface normal, ( for these 4 surfaces)
The surface normal on the left hand side is towards left (), and on the right hand side is right ()
Total flux is
The Gauss's law states the total flux through the surfaces of an enclosed volume is proportional to the charge it encapsulates
so the enclosed charge should be