Capacitor connection formula