If the electric field is constant in direction (horizontal in the x direction) but its magnitude decreases from E1 to E2, determine the flux through a cubical box of side length L if four of the sides of the box are parallel to the field.
∫EdA = flux
The Attempt at a Solution
[itex] \int_0^L EdA = EA|_0^L = E_LA-E_0A = A(E_L-E_0) = L^2(E_L-E_0) [/itex]
is this reasoning correct?