Text this: Modelling and simulation of RLC circuits for transient and steady-state analysis