PROBLEM X2:
Charge is distributed in space to produce an electric field of 300 N/C in the +x direction for x>0 and 300 N/C in the -x direction for x<0.  A cylinder 20 cm long and 5 cm in diameter is centered on the origin.
(a) Find the net outward flux through the surfaces of the cylinder if the cylinder axis is along x.
(b) Find the net outward flux through the surfaces of the cylinder if the cylinder axis is along y.