Hello i have tried to calculate the impedance of RLC circuit as shwn in the attached smath file however when i ran the same circuit in LTSPICE it gave me the same amplitude as SMATH
but the phases differ in 180 degrees.
as shown in the atached photo?
why there is 180 shift?
thanks
https://ibb.co/BLLDRKt
impedance checks_f.sm (6 KiB) downloaded 48 time(s).