A Python program that can be used to plot the charge and current plots for a series RLC circuit.
The program only needs 4 values: initial voltage at the capacitor, capacitance, inductance and resistance.
From that, it calculates the charge and current functions depending on the case (underdamped, critically damped, overdamped). The functions don't rely on any ODE solvers, they were solved manually by me, to ensure performance.
Here are the plots by default: