44.9k views
5 votes
A tank contains 40 lb of salt dissolved in 500 gallons of water. A brine solution is pumped into the tank at a rate of 5 gal/min; it mixes with the solution there, and then the mixture is pumped out at a rate of 5 gal/min. Determine A(t), the amount of salt in the tank at time t, if the concentration of salt in the inflow is variable and given by cin(t)

User Medvekoma
by
5.0k points

1 Answer

5 votes

Answer:


A(t)=500C_(in)(t)+[40-500C_(in)(t)]\cdot e^{-(t)/(100)}

Step-by-step explanation:

Volume of water in the Tank =500 gallons

Let A(t) be the amount of salt in the tank at time t.

Initially, the tank contains 40 lbs of salt, therefore:

A(0)=40 lbs

Rate of change of the amount of Salt in the Tank


(dA)/(dt)=R_(in)-R_(out)

Rate In=(concentration of salt in inflow)(input rate of brine)


=(C_(in)(t))( 5(gal)/(min))\\=5C_(in)(t)(lbs)/(min)

Rate Out=(concentration of salt in outflow)(output rate of brine)


=((A(t))/(500))( 5(gal)/(min))=(A)/(100)

Therefore:


(dA)/(dt)=5C_(in)(t)-(A)/(100)

We then solve the resulting differential equation by separation of variables.


(dA)/(dt)+(A)/(100)=5C_(in)(t)\\$The integrating factor: e^{\int (1)/(100)}dt =e^{(t)/(100)}\\$Multiplying by the integrating factor all through\\(dA)/(dt)e^{(t)/(100)}+(A)/(100)e^{(t)/(100)}=5C_(in)(t)e^{(t)/(100)}\\(Ae^{(t)/(100)})'=5C_(in)(t)e^{(t)/(100)}

Taking the integral of both sides


\int(Ae^{(t)/(100)})'=\int [5C_(in)(t)e^{(t)/(100)}]dt\\Ae^{(t)/(100)}=5*100C_(in)(t)e^{(t)/(100)}+C, $(C a constant of integration)\\Ae^{(t)/(100)}=500C_(in)(t)e^{(t)/(100)}+C\\$Divide all through by e^{(t)/(100)}\\A(t)=500C_(in)(t)+Ce^{-(t)/(100)}

Recall that when t=0, A(t)=40 lbs (our initial condition)


A(t)=500C_(in)(t)+Ce^{-(t)/(100)}\\40=500C_(in)(t)+Ce^{-(0)/(100)}\\C=40-500C_(in)(t)\\$Therefore, the amount of salt in the tank at any time t is:\\\\A(t)=500C_(in)(t)+[40-500C_(in)(t)]\cdot e^{-(t)/(100)}

User Wjv
by
5.0k points