The resistance of the battery is 4.50 Ω.
Given data:
The emf of battery is e=15 V.
The resistance of external load is R= 18 Ω.
The voltage of battery is V=12 V.
The current passed by the battery can be calculated as,

The internal resistance of the battery is given by,

Substitute the values in above equation,

Thus, the resistance of the battery is 4.50 Ω.