A resistance R is connected across the terminal of an electric cell of internal resistance…