Capacitors The variation of an alternating voltage applied to a capacitor, the charge on the capacitor, and the current flowing…