In the circuit shown in fig. when the switch is closed