A capacitance C is charged to an initial voltage Vi. At t = 0, a resistance R is connected across the capacitance.
A) Write an expression for the current. Express your answer in terms of some or all of the variables R, C, Vi, and t.
B) Integrate the current from t = 0 to t=?, and find the initial charge stored on the capacitance. Express your answer in terms of some or all of the variables R, C, and Vi .