When switch is open two resistor are connected in series, we can write E=V+iRor, E=1.5+iR …(i)When switch is closed, one resistor which is connected along switch is short-circuited.∴ iR=2 VPutting the above value in equation (i), we getE=1.5+2=3.5 V