I am trying to integrate a simple function:
$\frac{dA}{dt} = j - kA(t)$
where j and k are constants, and $A(0)=A_0$ is also a constant. I got to
$A(t) = jt + C - k\int A(t)dt$
but I dont know how to proceed now. Could you help me out please? I know the answer is
$A(t) = e^{-k*t} (A_0+ \frac{j}{k}e^{k*t} -1)$
How can I get there? thanks so much