and r is the internal resistance of the battery of emf E.