The LC Circuit is a common circuit that consists of a capacitor and an inductor. This circuit exhibits an interesting oscillatory behavior and exhibits Alternating Current (AC). In the above image, the circuit shown has a charged capacitor. When this capacitor discharges, it goes through the inductor, which resists the change.
Eventually the charge travels to the other plate of the capacitor, and the inductor tries to oppose the reducing current, generating a current in the other direction, repeating the cycle again.
To find an equation to describe this system, we use an energy approach: This bears uncanny resemblance to the mass-spring system, so we simply replace the constants with those in the mass-spring system. Where the angular frequency is By taking the time derivative of charge, we can find the current in the circuit: These two sinusoidal functions work in tandem to create the graphs in the figure above.