Capacitor analysis