Experiment on the effect of capacitor on AC