In: Physics
Below are the points which will clear the charging of a Capacitor by Battery.
C=Q/V in Farads
1) A capacitor is charged by connecting it to a DC voltage source. This may be a battery or a DC power supply.
2) Once the capacitor is connected to the DC voltage source, it will charge up to the voltage that the DC voltage source is outputting. So, if a capacitor is connected to a 9-volt battery, it will charge up to 9 volts. If a capacitor is connected to a DC power supply outputting 15 volts, it will charge up to 15 volts. All that has to be done is for the positive side of the DC voltage source to be connected to the positive side of the capacitor, the longer lead, and the negative side of the DC voltage source be connected to the negative side of the capacitor, the shorter lead.
3) In this case, the capacitor charges up to 9 volts, since it's connected to a 9-volt battery. Many of the times while charging a capacitor, a resistor is used in series with the capacitor and voltage source to decrease the amount of current that flows through the capacitor, so that the capacitor isn't damaged. This is usually recommended.