Potentiometer is used to:

Compare emf of two cells.

Detect internal resistance of cells.

Measure P.D.

All of these