The circuit in the figure shows two cells connected in opposition to each other. Cell E1 is of emf 6V and internal resistance 2Ω; the cell E2 is of emf 4V and internal resistance 8Ω. Find the potential difference between points A and B.

                           

Hint: The potential difference between A and B depends on the current in the circuit.
Step 1: Find the current in the circuit.

Effective resistance = 2Ω + 8Ω = 10Ω and effective emf of two cells= 6-4 = 2V
So the electric current is given by;
I=642+8=0.2 A along anti-clockwise direction, since E1 > E.
Step 2: Find the potential difference between A and B.
The direction of the flow of current is always from high potential to low potential. Therefore; 
 VB > VA
VB4 V(0.2)×8=VA
 VBVA=3.6V