The amount of salt in the tank changes with rate according to


which is a linear ODE in
. Multiplying both sides by
gives

so that the left side condenses into the derivative of a product,

Integrate both sides and solve for
to get


Given that
, we find

and we get the particular solution

