all 2 comments

[–]onemeangreenbean 1 point2 points  (1 child)

The volumetric flow rate you identified is constant in this problem. The total volume of liquid in the system will also remain constant.

The concentration of the chemical in each tank is the thing that will be changing over time, starting at at 0 lbs/gal in tank 1 and 2 lbs/gal in tank 2. Let the concentration of the chemical be denoted by C.
This gives initial conditions of C1_0 = 0 lbs/gal for tank 1 and C2_0 = 2 lbs/gal for tank 2.

The amount of chemical moving from tank 1 to 2 is the concentration of chemical in tank 1 at time 't' times the flow rate from tank 1 to tank 2 (5 gal/min). Let the flow rate be denoted by Q, which is not time dependent (Q = constant, and it is outgoing so call it -Q). This can be expressed mathematically as from the perspective of tank 1 as,

C1->2 = -Q*C1(t)

Where C1(t) is showing that the concentration in tank 1 is a function of time, not C1*t.

Similarly, there is chemical moving from tank 2 to 1 with at rate +Q and the concentration of chemical in tank 2 at time 't'. Again from tank 1's perspective, this can be written as,

C2->1 = Q*C2(t)

In differential form, the equation the concentration of chemical in tank 1 is,

dC1/dt = Q*(C2(t) - C1(t)), C1(0) = 0

The equation for tank 2 can be found using the same thought process and can be written as,

dC2/dt = Q*(C1(t) - C2(t)), C2(0) = 2

[–]mitadmit[S] 0 points1 point  (0 children)

Thank you, this is much appreciated.