If a resistor is connected in series with the capacitor forming an RC circuit, the capacitor will charge up gradually through the resistor until the voltage across it reaches that of the supply voltage. The time required for the capacitor to be fully charge is equivalent to about 5 time constants or 5T.