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

Homework Help Overview

The discussion revolves around a problem involving a tank containing a solution with salt, where brine is added and removed at a constant rate. Participants are tasked with determining the amount of salt in the tank over time, represented as A(t).

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore the differential equation governing the salt concentration, with some attempting to use integrating factors while others suggest a separable equation approach. Questions arise regarding the correct application of variables and methods.

Discussion Status

Several attempts have been made to derive A(t), with some participants expressing confusion over the steps taken and the introduction of new variables. There is ongoing exploration of different methods to solve the equation, but no consensus has been reached on a final approach.

Contextual Notes

Participants note the initial conditions and parameters of the problem, including the rates of inflow and outflow, as well as the initial amount of salt. There are indications of typos and misunderstandings in the mathematical formulation, which may affect the clarity of the discussion.

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
3K
  • · 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