A uniformly charged and infinitely long line having a liner charge density is placed at a normal distance y from a point O. Consider a sphere of radius R with O as the center and R > y. Electric flux through the surface of the sphere is
qin, is the charge enclosed by the Gaussian surface, which, in the present case, is the surface of the given sphere. As shown, length AB of line lies inside the sphere. In ,
Therefore, electric flux is