Two large tanks, each holding 100 L of liquid, are interconnected by pipes, with the liquid flowing from tank A into tank B at a rate of 3 L/min and from B into A at a rate of 1 L/min (see Figure Q1). The liquid inside each tank is kept well stirred. A brine solution with a concentration of 0.2 kg/L of salt flows into tank A at a rate of 6 L/min. The diluted solution flows out of the system from tank A at 4 L/min and from tank B at 2 L/min. If, initially, tank A contains pure water and tank B contains 20 kg of salt. A 6 L/min 0.2 kg/L x(t) 100 L 4 L/min x(0) = 0 kg 3 L/min 1 L/min B y(t) 100 L y(0) = 20 kg 2 L/min Figure Q1 - Mixing problem for interconnected tanks Determine the mass of salt in each tank at time t≥ 0: Analytically (hand calculations) Using MATLAB Numerical Functions (ode45) Creating Simulink Model Plot all solutions on the same graph for the first 15 min. The graph must be fully formatted by code.

Elements Of Electromagnetics
7th Edition
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Sadiku, Matthew N. O.
ChapterMA: Math Assessment
Section: Chapter Questions
Problem 1.1MA
icon
Related questions
Question
Two large tanks, each holding 100 L of liquid, are interconnected by pipes, with the liquid flowing from tank
A into tank B at a rate of 3 L/min and from B into A at a rate of 1 L/min (see Figure Q1). The liquid inside each
tank is kept well stirred. A brine solution with a concentration of 0.2 kg/L of salt flows into tank A at a rate of
6 L/min. The diluted solution flows out of the system from tank A at 4 L/min and from tank B at 2 L/min. If,
initially, tank A contains pure water and tank B contains 20 kg of salt.
A
6 L/min
0.2 kg/L
x(t)
100 L
4 L/min
x(0) = 0 kg
3 L/min
1 L/min
B
y(t)
100 L
y(0) = 20 kg
2 L/min
Figure Q1 - Mixing problem for interconnected tanks
Determine the mass of salt in each tank at time t≥ 0:
Analytically (hand calculations)
Using MATLAB Numerical Functions (ode45)
Creating Simulink Model
Plot all solutions on the same graph for the first 15 min. The graph must be fully formatted by code.
Transcribed Image Text:Two large tanks, each holding 100 L of liquid, are interconnected by pipes, with the liquid flowing from tank A into tank B at a rate of 3 L/min and from B into A at a rate of 1 L/min (see Figure Q1). The liquid inside each tank is kept well stirred. A brine solution with a concentration of 0.2 kg/L of salt flows into tank A at a rate of 6 L/min. The diluted solution flows out of the system from tank A at 4 L/min and from tank B at 2 L/min. If, initially, tank A contains pure water and tank B contains 20 kg of salt. A 6 L/min 0.2 kg/L x(t) 100 L 4 L/min x(0) = 0 kg 3 L/min 1 L/min B y(t) 100 L y(0) = 20 kg 2 L/min Figure Q1 - Mixing problem for interconnected tanks Determine the mass of salt in each tank at time t≥ 0: Analytically (hand calculations) Using MATLAB Numerical Functions (ode45) Creating Simulink Model Plot all solutions on the same graph for the first 15 min. The graph must be fully formatted by code.
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Elements Of Electromagnetics
Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press
Mechanics of Materials (10th Edition)
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON
Thermodynamics: An Engineering Approach
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education
Control Systems Engineering
Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY
Mechanics of Materials (MindTap Course List)
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning
Engineering Mechanics: Statics
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY