Bradford T. answered 10/14/23
Retired Engineer / Upper level math instructor
Rate in, ri=2g/m
Rate out, ro=1g/m
ri-ro= 2-1 = 1 g/m
To fill the tank, need to add 15 gallons, which will take 15 minutes or t = 15
Let A(t) be the amount of salt in the tank at any time. A(0) = 5 lbs which was given.
Let ci be the density in, which will be 1 lb/15gallons, since 15 gallons is needed to fill the tank.
ci = 1
Let c0 the density of the well mixed solution, which is changing in time because 1 gallon/minute is being
pumped in.
co=A(t)/(15 + (1)t) = A/(15+t)
dA/dt = Amountin-Amountout = ciri-coro = 2 - A/(15+t)
dA/dt + A/(15+t)=2
The integrating factor is μ = e∫1/(15+t)dt=eln(15+t)=15+t
μdA/dt + μA/(15+t)=2μ
(15+t))dA/dt + A = 2(15+t)
d/dt((15+t)A) =2(15+t)
Integrating both sides
(15+t)A(t) = 30t+t2+C
A(t) = (30t+t2+C)/(15+t)
A(0) = C/15 = 5 --> C=75
The tank will be full after 15 minutes
A(15) = (30(15)+152+75)/450 = 750/30 = 25 pounds of salt