Two capacitors A and B are connected in series with a battery as shown in the figure. When the switch S is closed and the two capacitors get charged fully