I was doing an LC circuit with voltage source simulation both in pspice and in mathematica when I noticed that the current in the simulations are different. Anybody knows why pspice is giving me that error? Both the voltage in the capacitor and in the inductor are the same in both simulations, but the current in the pspice simulation is shifted by 180 degrees; furthermore; when I check the current in the capacitor node it gives me the right value.

Thank you