The RLC Circuit model simulates a resistor, capacitor and inductor in series with either a sinusoidal or square wave voltage source and plots the time dependence of the voltage drops across each element. Users can vary the resistance, capacitance, inductance and source frequency. If Ejs is installed, right-clicking within the plot and selecting "Open Ejs Model" from the pop-up menu item allows for editing of the model.
Quelle: Open Source Physics