Emf of the battery, E = 10 V
Internal resistance of the battery, r = 3 Ω
Current in the circuit, I = 0.5 A
Resistance of the resistor = R
The relation for current using Ohm’s law is,

Therefore, the resistance of the resistor is 17 Ω and the terminal voltage is 8.5 V.