Build and analyze AC circuits with real measurements
AC circuits require analysis with phasors and complex impedance. The total impedance Z of a series RLC circuit combines resistance R with inductive reactance X_L and capacitive reactance X_C. At resonance (X_L = X_C), impedance is purely resistive and current is maximized. An oscilloscope reveals phase relationships between voltage and current waveforms.
Plus 148+ other Pro labs covering AP Physics, Biology, Chemistry, Earth Science, and Math — with unlimited simulation time, advanced parameters, and detailed analytics.
Already have an account?
Sign in →Pop the case off a guitar pedal or a cheap radio and you'll find the same three components staring back at you: resistors, capacitors, and inductors wired into an AC signal path. They are the building blocks of every analog filter, tuner, and power supply in the room. The catch is that AC current and AC voltage do not always peak at the same instant — capacitors make current lead voltage, inductors make it lag, and a real circuit blends both effects. This virtual lab gives you an oscilloscope, real component sliders, and a phasor diagram so you can see the phase shift as a number, a waveform, and a rotating arrow at the same time. Build a series RLC circuit, sweep the source frequency, and watch the impedance triangle rotate as the circuit slides through resonance.
MisconceptionIn an AC circuit, voltage and current always peak at the same time, just like in a battery circuit.
CorrectOnly in a pure resistor are V and I in phase. A capacitor makes the current peak before the voltage does (current leads), and an inductor makes the current peak after (current lags). The oscilloscope shows this as a horizontal shift between the two waves.
MisconceptionImpedance is just the sum R + X_L + X_C — you add reactances like resistors in series.
CorrectReactances are 90° out of phase with R, so you cannot just add them. Impedance is Z = √(R² + (X_L − X_C)²), which is the Pythagorean combination of the resistive and net reactive parts. That is why the phasor diagram is a right triangle.
MisconceptionAt resonance the capacitor and inductor stop doing anything because they cancel out.
CorrectThey are still active — energy sloshes back and forth between them every cycle. What cancels is their net opposition to current, because X_L equals X_C. Each component still has a real, often very large, voltage across it; it just adds to zero around the LC pair.
MisconceptionThe voltage across an individual component can never be larger than the source voltage.
CorrectIn a series RLC circuit at or near resonance, V_L and V_C can each be many times the fixed source amplitude. They are equal in magnitude but 180° out of phase, so they cancel in the loop equation while individually being large. This is the same selectivity principle used in tuned circuits such as radio receivers.
Capacitors and inductors store energy instead of just dissipating it, and that storage takes time. A capacitor needs charge to build up before its voltage rises, so current peaks first and voltage lags by 90°. An inductor opposes changes in current, so when voltage peaks current is still climbing — current lags voltage by 90°. Mix these with a resistor and you get an intermediate phase shift between 0° and ±90°, which is what φ = arctan((X_L − X_C)/R) measures.
At resonance the current in the loop is large because impedance is at its minimum. The voltage across the inductor is V_L = I × X_L, and X_L can be many times larger than R, so V_L can exceed the fixed source amplitude. The same is true for V_C. Those two component voltages are opposite in phase, so when you go around the loop they cancel and Kirchhoff's voltage law is still satisfied.
Peak current is the maximum instantaneous value the AC current reaches in a cycle. RMS current is what an AC ammeter reads and is what you plug into power formulas; for a sine wave I_rms = I_peak/√2. Use peak when you are sizing components for breakdown voltage; use RMS when you are calculating heat dissipation or matching DC equivalent values.
AP Physics 2 standard CHA-3.A asks students to analyze AC circuits using impedance, phase, and energy considerations, and CHA-3.B through CHA-3.D push them to reason quantitatively about RLC behavior. This virtual lab supports all of that by letting students vary R, L, C, and f and read Z, φ, and I directly. NGSS HS-PS3-2 covers energy transfer in electrical systems, which the lab illustrates through real vs. reactive power and the resonance peak.
Inductive reactance grows with frequency while capacitive reactance shrinks with frequency. Below resonance the circuit looks capacitive (X_C dominates), above resonance it looks inductive (X_L dominates), and at the one frequency where X_L = X_C the impedance is just R. That is the lowest impedance the circuit can have, so I = V/Z is at its maximum there. Move away from f_0 in either direction and the current drops off.