how to calculate inrush current of capacitor