We are given
V = 100 V
R = 500 Ω
C = 10^4 F
q(0) = 0
We are asked to find the charge q(t) of the RC capacitor.
To solve this, we use the formula:
q(t) = CV [1 - e^(-t/RC) ]
Substituting thet given values
q(t) = 10^4 (100) [1 - e^(-t/500(10^4) ]
q(t) = 1 x 20^6 [1 - e^(-2x10^7 t) ]
Since we only asked to get the charge q(t) in terms of t, the answer is
q(t) = 1 x 20^6 [1 - e^(-2x10^7 t) ]