I have a RLC circuit, and I know if we wish to calculate the phase difference between Voltage and Input current then the formula is
$$ \phi = \tan^{-1} \frac{X_L -X_C}{R} $$
But as we already know, phase difference between inductor voltage and input current is 90°. I know how to calculate it through waveform. $$\phi = 360 f \,\mathrm dT $$
But I have no idea how do I calculate it through first formula. In short, what will be the question mark in the following expression and why? $$\phi = \tan^{-1} \frac{X_L}{?}$$.
Also for the capacitor voltage and input current.
I know am weak in electronics and my basics too that's why am seeking help from you guys, kindly correct me if I was wrong in any of my presumptions.