Consider a distribution of charge in the form of a hollow circular cylinder, like a long charged pipe. Use Gauss’s law to show that the field inside the pipe is zero. Also show that the field outside is the same as if the charge were all on the axis. Is either statement true for a pipe of square cross section on which the charge is distributed with uniform surface density?