Capacitor with a charged sphere