CAPACITOR CHARGING AND DISCHARGING