A series circuit consists of a resistor with R = 20 Ω, a capacitor with C = 0.01 F, and a decaying battery with E = 500e−5t. If the initial charge is 0, find the charge as a function of time t.
Q(t) = ?