can u plz explain properly wats the operation of and inductor and a capacitor in ac as well as dc.........