An uncharged capacitor is connected to a battery. On charging the capacitor a. All the energy supplied is stored in the capacitor b. Half the energy supplied is stored in the capacitor