In fig. battery of e.m.f. E has internal resistance r and a variable resistor. At an instant