A current of 0.5 A flows through a resistor when connected to a 40 V…