Diff Eq tank problem not working out

  • Thread starter Thread starter Indychus
  • Start date Start date
  • Tags Tags
    Diff eq Tank
AI Thread Summary
The discussion revolves around solving a differential equation related to a tank problem involving a brine solution. The user initially misidentified the variable x(t) as the concentration of salt instead of the total mass of salt in the tank. After receiving clarification, they recognized the need to express the concentration in terms of the total volume of solution in the tank. The correct formulation involves adjusting the rate of change of salt and water in the tank, leading to a more accurate approach for determining the concentration over time. The user expressed gratitude for the assistance and indicated plans to seek further help on a related heating/cooling problem.
Indychus
Messages
11
Reaction score
0
I know you guys must get tired of the tank problem, but I just can't seem to get this figured out. This is my first post here, so hopefully this is in the right subforum and is presented properly.

"A brine solution of salt flows at a constant rate of 4L/min into a large tank that initially held 100L of pure water. The solution inside the tank is perfectly mixed at all times, and flows out of the tank at a rate of 3L/min. If the concentration of salt in the brine entering the tank is .2kg/L, determine the mass of salt in the tank after t minutes. At what time will the concentration of salt in the tank reach .1kg/L. Assume the tank is infinitely large."

To solve this, I set up my D.E. as follows. I omitted units to cut down on clutter:

dx/dt = input-output (x being concentration per time t)
dx/dt = (4 * .2) - (3 * (x(t)/100 + t))

I then put it into standard form: dx/dt + (3/(t+100))x=.8
Since this is linear, I solved using an integrating factor |(t+100)^3|

This gave me an equation x = .2(t+100)+(C/(t+100)^3)
I found C to be -2 x 10^7 using initial conditions x(0)=0

Plugging .1 in for x, I solved for t and obtained .1252 min or 7.506 sec. This seems very fast to raise the concentration so drastically. I have reworked it several times, but can not find my mistake. I will admit my integration skills are a bit rusty. Also, I neglected the absolute value sign in the integrating factor since negative time is not possible, maybe that is my error? Test tomorrow, appreciate any help!
 
Physics news on Phys.org
Your math is fine, but the way you have it set up, x(t) isn't the concentration — it's the total amount of salt in the tank. The concentration at time t would be x(t) divided by the volume of solution in the tank at time t.
 
Wow, haha, such a simple mistake has eluded me for the better part of an hour. Thanks!
 
this might be easier to do in terms of volumes

the rate of change of water in the tank will be,
V'(t) = v_in - v_out = (4-3)

V(t) = t + 100


the change in total salt water will be
s'(t) = s_in - s_out = v_in*c_in - v_out*c_out
= 4*0.2 - 3 *(s(t)/V(t))
s'(t) = 0.8-3s(t)/(100+t)

or in terms of the concentration
c(t) = s(t)/V(t)

then differntiating using the quotient rule
c'(t) = s'(t)/V(t) - s(t)/(V(t))^2
 
Thanks for the quick responses guys, I've got a handle on it now. I'll probably be back in an hour or so with a heating/cooling problem though, so bear with me :)
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top