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