Hi @attila
Thank you for very fast response. That is very helpful. I only does not understand what magnitudeRatio is meaning and how to know the value.
Basically I am asking because I use Diligent Impedance Analyzer measurements as a reference.
The second measurement is done with the bench function generator and oscilloscope with the same circuit. I measured the V1, V2 and phase diff with oscilloscope and tried to calculate the impedance, but my calculation impedance results are not the same as from Analyzer..