Suppose one has a circuit consisting of an inductor $L$ and resistor $R$ in series where $L$ and $R$ are known, passes an alternating voltage of frequency $\omega$ through it and that one wishes to calculate the mean power dissipated in the resistor.
Let the RMS voltage across the series combination be $V_0$. Then the RMS current through the components will be $I=\frac{V_0}{i\omega L + R}$ and the mean power dissipated in $R_2$ will be $\overline{P}=I^2R$. However, at this point, $I$ involves a complex quantity. How do you calculate the mean power? Do you calculate the magnitude of the complex current?
With very many thanks,
Froskoy.