The basis of our analysis of capacitance is Gauss's law for electric fields.
The law states that the total electric charge within a closed surface equals the
total electric flux emerging from the surface. In other words, the total charge
within the closed surface equals the integral over the surface of the normal
component of the electric ftux density.