Calibration of ammeter and voltmeter by potentiometer