Two cells, having the same emf, are connected in series through an external resistance R. Cells have internal resistance r1 and r2(r1>r2) respectively. When the circuit is closed, the potential difference across the first cell is zero the value of R is

