I have encountered many mixing problem like this but I just can't answer this one. Here is the problem,
A mass of inert material containing $15 \text{ lb}$ of salt in its pores is agitated with $10 \text{ gal}$ of water initially fresh. The salt dissolves at a rate which varies jointly as the number of pounds of undissolved salt and the difference between the concentration of the solution and that of a saturated solution ($3 \text{ lb/gal}$). If $9 \text{ lb}$ are dissolved in $10 \text{ min}$, when will $90\%$ be dissolved?
Here's my solution:
Let $P$ be the amount of dissolved salt, $15-P$ be the undissolved. The concentration of the solution $= \frac P {10} \text{ lb/gal}$. Then,
$$\frac{\mathrm dP}{\mathrm dt} = (15-P)\left(3-\frac P {10}\right)\text;$$
$$\frac{\mathrm dP}{\mathrm dt} = (15-P)(30-P)/(10)\text.$$
Since this is separable, I used partial fraction then integrate both side and got an answer of around $11 \text{ min}$, which is wrong according to the textbook. The answer key provided an answer of $30.5 \text{ min}$. I don't really know whats wrong in my equation above.
$\frac{dP}{dt} = k (15-P) (3- \frac{P}{10})$ where $k$ is a constant multiplier.
$dt = \frac{10}{k(15-P)(30 - P)} dP$
$ \displaystyle \int dt = 10 = \frac{1}{k}\int_0^9\frac{10}{k(15-P)(30 - P)} dP = \frac{1}{k} \frac{2}{3} \ln \frac{7}{4}$ (time taken is $10$ mins).
So, $k = \frac{1}{15} \ln \frac{7}{4} \approx 0.0373$
Now for $90\%$ of salt = $13.5$ lb. For it to dissolve, time taken will be
$ \displaystyle \int dt = t = \frac{1}{k}\int_0^{13.5}\frac{10}{k(15-P)(30 - P)} dP = \frac{1.1365}{k}$
So, $t = \frac{1.1365}{0.0373} \approx 30.5$ minutes.