find the charge flowing through section AB when switch S is closed.