Two batteries of different emfs and different internal resistances are connected as shown. The voltage across AB in volts is