In the circuit find the resistance between terminals A and B when switch is open and closed. why both are equal?