A current is passed in a wire of 4 Ω 4 \, \Omega 4Ω resistance by a battery. Find out the internal resistance of the battery, when current is passed in another 9 Ω 9 \, \Omega 9Ω resistor by the same battery; while the same heat is produced during the same time in both wires.