a capacitor is open-circuited