Can someone explain how to setup this differential mixing problem

1. Sep 24, 2014

erica

1. The problem statement, all variables and given/known data
Setup a diﬀerential and solve the diﬀerential equation using Mathematica: Suppose water is added to a tank at 10 gal/min, but leaks out at the rate of 1/5 gal/min for each gallon in the tank. What is the smallest capacity the tank can have if the process is to continue indeﬁnitely?

2. Relevant equations

3. The attempt at a solution
I know Q' = rate in - rate out. I'm clueless I have no idea to set this up. all I have are examples of actual mixing problems where something is being mixed like salt. i'm so confused. please help

2. Sep 25, 2014

BiGyElLoWhAt

Ok, so you have a tank and you're adding water at a rate of 10 gal/min and it's leaking proportional to the amount of water in the tank. Let's call the amount of water in the tank W, and then the rate of change of amount of water with respect to time would be dW/dt.

So what do you know about these?

3. Sep 25, 2014

Staff: Mentor

In words, what does Q represent? You know that the rate of flow into the tank is 10 gal/min. How would you represent the rate of outflow?