Assignment:
We learned that the magnitude of the electric field at a point a distance r from an infinite straight wire with a uniformly distributed positive charge E=2kλ/r, where λ is the charge per unit length on the wire. Imagine that we surround a portion of such a wire with a closed surface shaped like a cylindrical can.
What is the total flux of the electric field through this surface?
(Hint: Calculate first the flux through the two end caps, then the flux through the remainder, and sum.) An attachment to illustrate is included.