$N$ batteries are connected in parallel, with their terminals oriented in the same direction. If the $i$ th battery has an emf $\varepsilon_i$ and internal resistance $r_i$ and if the entire set-up can be reduced to a single equivalent battery with emf $\varepsilon_{e q}$ and internal resistance $r_{e q}$ with respect to two terminals at the ends of a parallel branch, determine $\varepsilon_{e q}$ and $r_{e q}$.