Charge sharing and discharge Joule heating between two capacitors | Gnit