This outflow/inflow question is troublesome for me :/.
Q9. A tank containing 600 litres of water has a sugar solution of concentration 0.1 kg/L pumped in at a rate of 10 L/min. if the mixture is kept uniform and is pumped out at a rate of 8 L/min, set up a differential equation for the amount of sugar, x kg, at any time t. (Do not attempt to solve).
b^3 has provided an explanation already, but I'll add mine because I have a slightly different way of doing it
dx/dt = rate of change of amount with respect to time (kg/min)
Volume at time t = V(t) = 600 + 10t - 8t = 600 + 2t
Rate of change of x (in)= Concentration (kg/L) x Flowing In Rate (L/min) = 0.1 x 10 = 1 kg/min
Rate of change of x (out) = Concentration (kg/L) x Flowing Out Rate (L/min) = x/v(t) * 8 = (8x) / (600 + 2t) = (4x) / (300 + t)
Now you find dx/dt = Rate of change of x (in) - Rate of change of x (out) =
Generally I use this method to do it because it doesn't need formulae (I hate formulae =.= it's more to remember to be honest) - you kind of use the units to guide you