My question is : at resonance the current must be of I=100v/4Ω≈25A. So the voltage in resistance= 25A*4Ω=100volts, capacitor or inductor should be ≈3900 Volts.
The resistor is not at 0° so there is no 100Volts.
The link example is below, and I would aprecciate your help. Guess LT SPICE have a bug?. Don`t think so.
Below is the link with example the example. I make the math again & is correct!. SO why lt spice is not showing the correct graph?.
THANK YOU VERY MUCHhttp://www.electronics-tutorials.ws/accircuits/series-resonance.html

Thanks a lot, so I have another problem with LTSPICE when performing transient analisys. In your example transient analisys works very well, the sin function I put works (the 25A mirros in both analisys)- But in this example (new resonance circuit), the sweep analisys shows 25A in resonance, when in transient analisys it shows only 15A.
I send you all-
THANK YOU VERY MUCH AGAIN!

Thanks a lot, so I have another problem with LTSPICE when performing transient analisys. In your example transient analisys works very well, the sin function I put works (the 25A mirros in both analisys)- But in this example (new resonance circuit), the sweep analisys shows 25A in resonance, when in transient analisys it shows only 15A.
I send you all-
THANK YOU VERY MUCH AGAIN!
View attachment 46727

I didn't open the zip file, but I modified your simulation. Run the .asc file.
Note that the sim runs for 2.5 sec, because the Q of the circuit (XL/R) prevents the current from reaching full amplitude immediately.
Also note that the maximum timestep is 10uS. This gives more accuracy.
I also ran your .AC sim over a single octave, because I was too lazy to calculate the resonant frequency. I modified your transient sine wave frequency to 49.96Hz.

i didn't open the zip file, but i modified your simulation. Run the .asc file.
Note that the sim runs for 2.5 sec, because the q of the circuit (xl/r) prevents the current from reaching full amplitude immediately.
Also note that the maximum timestep is 10us. This gives more accuracy.
I also ran your .ac sim over a single octave, because i was too lazy to calculate the resonant frequency. I modified your transient sine wave frequency to 49.96hz.