How Do You Calculate the Salt Concentration in a Tank Over Time?

  • Thread starter Thread starter KillerZ
  • Start date Start date
  • Tags Tags
    Mixture
Click For Summary
SUMMARY

The discussion focuses on calculating the salt concentration in a tank over time, specifically using a differential equation approach. The tank initially contains 200 liters of fluid with 30 grams of salt. Brine with a concentration of 1 gram of salt per liter is pumped in at a rate of 4 L/min, while the same volume is pumped out. The resulting differential equation is solved to find A(t), the amount of salt in the tank at time t, leading to the final formula A(t) = 200 - (170/e^(t/50)).

PREREQUISITES
  • Understanding of differential equations
  • Knowledge of initial value problems
  • Familiarity with integrating factors
  • Basic concepts of fluid dynamics and concentration calculations
NEXT STEPS
  • Study the method of integrating factors in differential equations
  • Learn about separable differential equations and their applications
  • Explore fluid dynamics principles related to mixing and concentration
  • Investigate real-world applications of differential equations in chemical engineering
USEFUL FOR

Students studying differential equations, chemical engineers, and anyone interested in fluid dynamics and concentration calculations in mixing processes.

KillerZ
Messages
116
Reaction score
0

Homework Statement



A tank contains 200 liters of fluid which 30 grams of salt is dissolved. Brine containing 1 gram of salt per liter is then pumped into the tank at a rate of 4 L/min; the well-mixed solution is pumped out at the same rate. Find the number A(t) of grams of salt in the tank at time t.

Homework Equations



initial amount of liquid = 200L
A(t=0) = 30g
rate in = 4L/min
rate out = 4L/min
concentration of the inflow liquid = 1 g/L

The Attempt at a Solution



\frac{dA}{dt} = (1g/L)(4L/min) - \frac{(4L/min)(A(t))g}{(200L) + (4L/min - 4L/min)t}

\frac{dA}{dt} = (4) - \frac{4A}{200}

\frac{dA}{dt} + \frac{4A}{200} = (4)

\frac{dA}{dt} + \frac{A}{50} = (4)

I(t) = e^{\int\frac{A}{50}dt}

I(t) = e^{\frac{At}{50}}

f(t) = \frac{1}{e^{\frac{At}{50}}}[\int (e^{\frac{At}{50}})(4) dt + c]

f(t) = \frac{1}{e^{\frac{At}{50}}}[\frac{200e^{\frac{At}{50}}}{A} + c]

f(t) = \frac{200e^{\frac{At}{50}}}{Ae^{\frac{At}{50}}} + \frac{c}{e^{\frac{At}{50}}}]
 
Physics news on Phys.org
KillerZ said:

Homework Statement



A tank contains 200 liters of fluid which 30 grams of salt is dissolved. Brine containing 1 gram of salt per liter is then pumped into the tank at a rate of 4 L/min; the well-mixed solution is pumped out at the same rate. Find the number A(t) of grams of salt in the tank at time t.

Homework Equations



initial amount of liquid = 200L
A(t=0) = 30g
rate in = 4L/min
rate out = 4L/min
concentration of the inflow liquid = 1 g/L

The Attempt at a Solution



\frac{dA}{dt} = (1g/L)(4L/min) - \frac{(4L/min)(A(t))g}{(200L) + (4L/min - 4L/min)t}

\frac{dA}{dt} = (4) - \frac{4A}{200}

\frac{dA}{dt} + \frac{4A}{200} = (4)

\frac{dA}{dt} + \frac{A}{50} = (4)

I(t) = e^{\int\frac{A}{50}dt}
No, no, no! "A" is your dependent variable, not a constant. You find the integrating factor by integrating the coefficient of A. Your integrating factor is
e^{\int\frac{dt}{50}}= e^{\frac{t}{50}}

I(t) = e^{\frac{At}{50}}

f(t) = \frac{1}{e^{\frac{At}{50}}}[\int (e^{\frac{At}{50}})(4) dt + c]f(t) = \frac{1}{e^{\frac{At}{50}}}[\frac{200e^{\frac{At}{50}}}{A} + c]
And now you've completely lost me! Where did "f(t)" come from? There was no "f" before this line. You are supposed to be finding A(t).

Since the integrating factor is
e^{\int\frac{dt}{50}}= e^{\frac{t}{50}}
you have
e^{\frac{t}{50}}\frac{dA}{dt}-e^{\frac{t}{50}}\frac{A}{50}= 4e^{\frac{t}{50}}
\frac{d}{dt}\left(e^{\frac{t}{50}}A\right)= 4e^{\frac{t}{50}}[/itex]<br /> Integrate that to find A. The left side is, of course, just<br /> e^{\frac{t}{50}}A(t)<br /> <br /> <br /> <blockquote data-attributes="" data-quote="" data-source="" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> f(t) = \frac{200e^{\frac{At}{50}}}{Ae^{\frac{At}{50}}} + \frac{c}{e^{\frac{At}{50}}}] </div> </div> </blockquote><br /> Frankly, I think it would be easier not to use the &quot;integrating factor&quot; method at all. This is a separable equation.<br /> <br /> \frac{dA}{dt}= 4-\frac{A}{50}= \frac{200- A}{50}<br /> \frac{dA}{200- A}= \frac{dt}{50}<br /> Integrate both sides of that.
 
opps I made some typos and I don't know what I was thinking doing the integrating factor :confused: .

Here is my next attempt:

\frac{dA}{dt} = (1g/L)(4L/min) - \frac{(4L/min)(A(t))g}{(200L) + (4L/min - 4L/min)t}

\frac{dA}{dt} = (4) - \frac{4A}{200}

\frac{dA}{dt} + \frac{4A}{200} = (4)

\frac{dA}{dt} + \frac{A}{50} = (4)

I(t) = e^{\int\frac{1}{50}dt}

I(t) = e^{\frac{t}{50}}

A(t) = \frac{1}{e^{\frac{t}{50}}}[\int (e^{\frac{t}{50}})(4) dt + c]

A(t) = \frac{1}{e^{\frac{t}{50}}}[200e^{\frac{t}{50}} + c]

A(t) = \frac{200e^{\frac{t}{50}}}{e^{\frac{t}{50}}} + \frac{c}{e^{\frac{t}{50}}}
 
KillerZ said:
A(t) = \frac{200e^{\frac{t}{50}}}{e^{\frac{t}{50}}} + \frac{c}{e^{\frac{t}{50}}}
I hope you understand that this can be simplified! :biggrin:

And, of course, use the fact that A(0)= 30 to find c.
 
A(t) = \frac{200e^{\frac{t}{50}}}{e^{\frac{t}{50}}} + \frac{c}{e^{\frac{t}{50}}}

A(t) = 200 + \frac{c}{e^{\frac{t}{50}}}

A(0) = 30 = 200 + \frac{c}{e^{\frac{0}{50}}}

c = 30 - 200 = -170

A(t) = 200 - \frac{170}{e^{\frac{t}{50}}}
 

Similar threads

Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
15K
  • · Replies 9 ·
Replies
9
Views
4K