Question

In: Other

A 4,500 litre tank contains 2,500 litres of brine. There is 50 kg of salt initially...

A 4,500 litre tank contains 2,500 litres of brine. There is 50 kg of salt initially present. Pure water is being put into the tank at 20 litres/min. Brine solution is draining away at a rate of 15 litres/min.
a)Create a mathematical model of the dissolved salt in the solution. Give amount of salt in terms of time (t).
b)Calculate how much salt is in the system after 15 minutes. State all of the assumptions that you are using.
c)Create a working MATLAB program which deploys your mathematical model above. It is important to show the steps that you have chosen to create your mathematical model of this system.

Solutions

Expert Solution

This problem is based on mass balance in the stirred tank. The MATLAB program is based on finite difference equations. Proceed as follows:

(c) The MATLAB commands are to be given as follows (execute them in the same order), and the comments are written after the double slash sign, which don't have to be typed in the MATLAB command window:


>> syms c(t) //This command would define a symbolic function c(t)

>> ode = diff(c,t) == -4*c/(500+t) //This command would define the model equation we have developed in part (a) above. The screen command prompt would then show the following execution messages:

ode(t) =

diff(c(t), t) == -(4*c(t))/(t + 500)

>> cSol(t) = dsolve(ode) // This command would solve the equation for c(t) as a function of time and display the following result


cSol(t) =

C1/(t + 500)^4

//which is same as what we obtained in part (a) above.


Related Solutions

A tank initially contains 150 gal of brine in which 20lb of salt are dissolved. A...
A tank initially contains 150 gal of brine in which 20lb of salt are dissolved. A brine containing 3 ​lb/gal of salt runs into the tank at the rate of 4 gal/min.The mixture is kept uniform by stirring and flows out of the tank at the rate of 3 gal/min. Let y represent the amount of salt at time t. Complete parts a through e. a. At what rate​ (pounds per​ minute) does salt enter the tank at time​ t?...
1. A 100-gallon tank initially holds 50 gal of brine containing 5 pounds of salt. Brine...
1. A 100-gallon tank initially holds 50 gal of brine containing 5 pounds of salt. Brine containing 1 pound of salt per gallon enters the tank at the rate of 4 gal/s, and the well-mixed brine in the tank flows out at the rate of 3 gal/s. (a) How much salt will the tank contain at the time when the tank is full of brine? (b) If the tank had an infinite capacity, what is the maximum amount of salt...
A tank contains 20 kg of salt dissolve in 7000 L of water. Brine that contain...
A tank contains 20 kg of salt dissolve in 7000 L of water. Brine that contain 0.041 kg of salt per liter of water enters the tank at a rate of 25 L/min. The solution is kept thoroughly mixed and drains from the tank at the same rate. How much Kg salt remains in the tank if as time approaches to infinite?
A tank contains 9,000 L of brine with 11 kg of dissolved salt. Pure water enters...
A tank contains 9,000 L of brine with 11 kg of dissolved salt. Pure water enters the tank at a rate of 90 L/min. The solution is kept thoroughly mixed and drains from the tank at the same rate. (a) How much salt is in the tank after t minutes? (b) How much salt is in the tank after 10 minutes? (Round your answer to one decimal place.)
A tank initially contains 80gal of pure water. Brine containing 2lb of salt per gallon enters...
A tank initially contains 80gal of pure water. Brine containing 2lb of salt per gallon enters the tank at 2gal/min, and the (perfectly mixed) solution leaves the tank at 3 gal/min. Thus the tank is empty after exactly 80 min. (A) Find the amount of salt in the tank after t minutes. (b) What is the maximum amount of salt ever in the tank?
A tank contains 420 litres of a solution, with 20 kilograms of salt in the solution....
A tank contains 420 litres of a solution, with 20 kilograms of salt in the solution. A solution with a concentration of 57 kilograms per litre enters the tank at a rate of 7 litres per minute. The well-stirred solution flows out of the tank at the same rate. Determine the mathematical model that gives the function y(t), the number of kilograms of salt in the tank after t minutes
A tank contains 400 gallons of brine (salt in solution) in which 125 pounds of salt...
A tank contains 400 gallons of brine (salt in solution) in which 125 pounds of salt has been dissolved. Freshwater (with no salt added) runs into the tank at a rate of 4 gallons per minute, and the stirred mixture is drained from the tank at the same rate. (1) Find the amount of salt in the tank after an hour. (2) How long does it take to reduce the amount of salt in the tank to 10 pounds?
a 600gal tank initially containing 75lb of salt. Brine containing 1lb of salt per gallon enters...
a 600gal tank initially containing 75lb of salt. Brine containing 1lb of salt per gallon enters the tank at a rate of 5gal/s, and the well mixed brine in the tank flows out at a rate of 3gal/s. How much salt will the tank contain when it is full of brine?
A holding tank with capacity 5000 litres initially contains 1500 litres of 25 mM NaCl solution....
A holding tank with capacity 5000 litres initially contains 1500 litres of 25 mM NaCl solution. a) What is the final concentration of NaCl (expressed in mM) if an additional 3000 litres of 25 mM NaCl solution is pumped into the tank? b) Instead of (a), if 3000 litres of water are added to the tank, what is the final concentration of NaCl (expressed in mM)? c) Instead of (a) or (b), if an additional 500 litres of 25 mM...
A tank contains 1000L of pure water. Brine that contains 0.05kg of salt per liter enters...
A tank contains 1000L of pure water. Brine that contains 0.05kg of salt per liter enters the tank at a rate of 5L/min. Also, brine that contains 0.09kg of salt per liter enters the tank at a rate of 10L/min. The solution is kept thoroughly mixed and drains from the tank at a rate of 15L/min. Answer the following questions. 1. How much salt is in the tank after t minutes? Answer (in kilograms): S(t)= 2. How much salt is...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT