This simulation calculates quantities in a series LCR circuit with an AC voltage source and draws a phasor diagram of the voltages around the circuit.
Below are circuit parameters whose values you can change. Each time you move a slider button the circuit quantities will be calculated and the phasor diagram will be redrawn.