Finds the impedance of an AC circuit as Z = √(R² + (X_L − X_C)²), together with the inductive and capacitive reactances and the phase difference between voltage and current.