by measuring or comparing frequency of generated currents or voltages