My problem is that i want to apply a low frequency, low voltage signal, in a 240 V, 50 Hz distribution power system, and by measuring the impedance in 5 Hz to calculate the impedance in 50 Hz. I know how to do this for the imaginary part of the impedance and it is 2*pi*f*L in a lagging circuit. But how can i calculate the real part too?