Capacitor discharge speed formula