Runge-Kutta-based RLC model example with JavaScript and Plotly.js

Solver

Circuit

Excitation

Results