You are on page 1of 1

W(t)

is := amount of gallons in the tank at time t.


y(t) is := the number of pounds of salt in the tank at time t.
Intitial conditions 80 gallons @ 2lb/gal brine.




3 gal/min
2 gal/min





9 gal/min






Let W(t) := At + B where A := the total flow rate of water(Input- Output) and B:= the
initial amount of water such that it increases or decreases with time t based on the
flow of water. For this example A := (input- output) or (3gal/min +2 gal/min 9
gal/min) = -4 gal/min. B:= 80 gallons or the initial amount of water.


Finally, W(t)= 80-4t and setting the Lhs of the equation equal to 0 it takes
20min for the tank to empty out.

With y(t) defined to be number of pounds of salt in the tank at time, dy/dt can be
defined at which the salt flows through the tank (lb/min).

Similarly,

dy/dt = (3gal/min)(t^3 lb/gal)+(2gal/min)(e^t lb/gal)-(9gal/min)(y(t)lb/(80-4t))

where all units cancel to lb/min so that they are additive. Notice that the output flow
rate for salt (dy/dt) is simply y(t)/W(t) multiplied by the flow rate of water.

From here we can easily set up the FOLDE algorithm:

(dy/dt) + (9/80-4t)y = 3(t^3) + 2(e^t)

where F(t) = 9/(80-4t) and H(t) = 3(t^3) + 2(e^t).

PHEWWwww. Now that is too much formality for my undergraduateness!!!!

You might also like