and S2 and S3 are open. After charging of capacitor