A battery of emf 'E' and internal resistance 'r' is connected to a resistor of resistance $'r_1'$ and Q Joules of heat is produced in a certain time 't'. When the same battery is connected to another resistor of resistance $'r_2'$ the same quantity of heat is produced in the same time 't'. Then, the value of 'r' is :