C =
Vc =
I(t) =
Energy stored Uc =
Close switch
Open switch
Discharing