A resistor of resistance R is connected to a battery of negligible internal resistance. If…