and the charged capacitor is connected to the uncharged capacitor C2 by closing S2.