on what factors does the rate of charging and discharging of a capacitor depend?
Charging of a capacitor is given by
So, charging of a capacitor depends on the C,R and external voltage applied.
Discharging of a capacitor is given by
So, charging of a capacitor depends on the external resistance R, C and Q.