A current of 2 A flows through a 2 $\Omega resistor when connected across a battery a 2 \Omega resistor when connected across a battery. The same battery supplies a current of 0.5 A when connected across a 9 \Omega $ resistor. The internal resistance of the battery is