Let S(t) denote the amount of sugar in the tank at time t. Sugar flows in at a rate of
(0.04 kg/L) * (2 L/min) = 0.08 kg/min = 8/100 kg/min
and flows out at a rate of
(S(t)/1600 kg/L) * (2 L/min) = S(t)/800 kg/min
Then the net flow rate is governed by the differential equation
Solve for S(t):
The left side is the derivative of a product:
Integrate both sides:
There's no sugar in the water at the start, so (a) S(0) = 0, which gives
and so (b) the amount of sugar in the tank at time t is
As , the exponential term vanishes and (c) the tank will eventually contain 64 kg of sugar.