Derivation of the characteristics of capacitors in series