Capacitor impedance formula deduction