A resistor connected to a 12V battery draws a current of 2A. The energy dispatched…