The formula to calculate the battery voltage is:
\[ V_b = I_b \times R_b \]
Where:
Let's say the battery current is 5 amps and the battery resistance is 2 ohms. Using the formula:
\[ V_b = 5 \times 2 = 10 \, \text{volts} \]
So, the battery voltage is 10 volts.