A current of 0.5A flows through a resistor when connected to a 40-V battery. How…