Demonstration of an LC rssonant circuit. Resonance frequency is given by f = 1/(2 x Pi x Sqrt(LC)). Ideal components should produce an infinite oscillation, but due to errors in the numerical integration, if the simulation speed is too fast you will see the amplitudes decaying with time and crazy behaviors when it gets too low. I recomend a sim speed no faster than 25% of the wave period (ex. for f = 50Hz, T = 20ms, Sim speed <= 5ms/s)