by measuring amplitude of generated current or voltage