The simplest switched-capacitor (SC) circuit is the switched-capacitor resistor, made of one capacitor C and two switches S1 and S2 which connect the capacitor with a given frequency alternately to the input and output of the SC. Each switching cycle transfers a charge q {\displaystyle q} from the input to the output at the switching frequency f {\displaystyle f} . The charge q on a capacitor C with a voltage V between the plates is given by: