Capacitor charging and discharging experiment demonstration