how does the charge depend on time for a discharging capacitor in terms of capacitance c , resistance r , and initial charge q0 ?