Answer:
The resistance is 5.39 Ω
Step-by-step explanation:
We can calculate the resistance of the resistor knowing its power and the voltage across it by:

The thermal energy generated by the resistor is equal to the energy dissipated by it. We want to know the power (energy per unit of time) dissipated by the resistor:

Now that we know what is the power dissipated and the voltage across it (as it is the only element connected to the battery, by Kirchhoff's voltage law, it has to be the same as the one generated by the battery), we find the resistance:
