Capacitor i-v equations