Gauss's law states that: "The total electric flux through any closed surface is equal to 1/ε0 times the total charge enclosed…