Respuesta :
First notice that neither tank will change in total gallons at any time.
The pump is just mixing the water among the 2 tanks continuously. So eventually the concentration in each tank will be the same as concentration of both tanks put together.
Total gallons = 500, Total Salt = 50
Concentration = 50/500 = 1/10
If tank A has this concentration , then salt = 20
For tank B the salt amount is then 30.
This gives us 2 points, an initial amount and a finishing amount as t -> infinity.
To find functions for x(t) and y(t) , we need to look at the rate of change.
[tex]Rate = R_{in} - R_{out} [/tex]
For tank A, 20/300 or 1/15 of tank B salt is coming in. While 20/200 or 1/10 of its own salt is leaving.
For tank B its just the other way around.
This will give a system of 2 differential equations:
[tex]\frac{dx}{dt} = \frac{y}{15} - \frac{x}{10}[/tex]
[tex]\frac{dy}{dt} = \frac{x}{10} - \frac{y}{15}[/tex]
From this we can say:
[tex]\frac{dy}{dt} = -\frac{dx}{dt}[/tex]
[tex]y = -x+C[/tex]
Plug this in for y in the dx/dt equation:
[tex]\frac{dx}{dt} = \frac{-x+C}{15} -\frac{x}{10} = -\frac{x+C}{6} [/tex]
Solving this differential equation gives:
[tex] \int \frac{dx}{x+C} = \int -\frac{dt}{6} [/tex]
[tex]\ln (x+C) = -\frac{t}{6} +k[/tex]
[tex]x = k e^{-t/6} +C[/tex]
The dy/dt equation is solved exactly the same way, so you have:
[tex]y = k e^{-t/6} +C[/tex]
All thats left is to apply initial and final conditions to get constants.
The final solution is:
[tex]x(t) = -10e^{-t/6}+20[/tex]
[tex]y(t) = 10e^{-t/6}+30[/tex]
The pump is just mixing the water among the 2 tanks continuously. So eventually the concentration in each tank will be the same as concentration of both tanks put together.
Total gallons = 500, Total Salt = 50
Concentration = 50/500 = 1/10
If tank A has this concentration , then salt = 20
For tank B the salt amount is then 30.
This gives us 2 points, an initial amount and a finishing amount as t -> infinity.
To find functions for x(t) and y(t) , we need to look at the rate of change.
[tex]Rate = R_{in} - R_{out} [/tex]
For tank A, 20/300 or 1/15 of tank B salt is coming in. While 20/200 or 1/10 of its own salt is leaving.
For tank B its just the other way around.
This will give a system of 2 differential equations:
[tex]\frac{dx}{dt} = \frac{y}{15} - \frac{x}{10}[/tex]
[tex]\frac{dy}{dt} = \frac{x}{10} - \frac{y}{15}[/tex]
From this we can say:
[tex]\frac{dy}{dt} = -\frac{dx}{dt}[/tex]
[tex]y = -x+C[/tex]
Plug this in for y in the dx/dt equation:
[tex]\frac{dx}{dt} = \frac{-x+C}{15} -\frac{x}{10} = -\frac{x+C}{6} [/tex]
Solving this differential equation gives:
[tex] \int \frac{dx}{x+C} = \int -\frac{dt}{6} [/tex]
[tex]\ln (x+C) = -\frac{t}{6} +k[/tex]
[tex]x = k e^{-t/6} +C[/tex]
The dy/dt equation is solved exactly the same way, so you have:
[tex]y = k e^{-t/6} +C[/tex]
All thats left is to apply initial and final conditions to get constants.
The final solution is:
[tex]x(t) = -10e^{-t/6}+20[/tex]
[tex]y(t) = 10e^{-t/6}+30[/tex]