A series VIN–SW–L–C loop. The switch is gated by a control voltage, closing for exactly half a resonant period so it opens at a current zero-crossing — charging the capacitor to twice the source voltage. The waveform below is computed live by Python (NumPy + Matplotlib) running in your browser via Pyodide.
This page runs the same model as series_LC_switch.py / series_LC_switch.m
(RK4 integration of iL′=(VIN−VC)/L, VC′=iL/C, gated by the
switch). Requires an internet connection to fetch Pyodide from the CDN. First run downloads NumPy + Matplotlib and may take ~15–30 s.