Ok I have the equation:
$$ R\frac{dq(t)}{dt} + \frac{q(t)}{C} - V = 0 $$
and have been asked to find the general solution using separation of variables. I am unsure if I am rearranging the the equation correctly. Here is my attempt:
$$ CR \ dq(t) = (-q(t) + VC) \ dt $$
Which then I integrate both sides giving me:
$$ CR \ q(t)=-q(t)t+VCt $$
Which I rearrange in terms of q(t):
$$ q(t) = \frac{VCt}{CR+t} $$
I just wanted to confirm I performed the steps correctly. Alot of the online examples are in terms of $x$ and $y$, seeing the $dq(t)$ has really confused my perspective of the solution.
Thanks