HW6_3 For a system of nine interconnected tanks (shown at right), the mass- balance equations are: roi Co1 + r41C4 = (r12 +r15)C1 ro2C02 + r12C1 + r52©5 = (r23 + r26)©2 r'03C03 + r23C2 = r36C3 (r41 + ras + r45)c4 T15C1 + r45C4 = (r52 + rs8 + rs9)C5 T04C04 + r74c7 = ro6 C06 + r26©2 + r36C3 = "69C6 ro7C07 + r87Cg = r74C7 Tos Cos + 158C5 + r48C4 (rs7 + rs9)cs T'59C5 + ro9C6 + r'89C8 = rC9 The concentration of chemical inflow into tank T, is designated c, and the initial concentration in tank T, is designated Co. The flow rate from tank T, to Tj is designated rj. Furthermore, the total flow into each tank must equal the flow out, r (from tank 9). Given initial concentrations: Co1=1, Coz=2, Co3=1, Cos=2, Cos=1, Co7=1 and Cos=1, in g/L given flow rate between tanks: r12=6, ris=2, r3=5, r2s=5, rss=8, ra1=5, ras=1, ras=1, rsz=1, rse=2, rs9=1, res=15, r7=4, ray=2, ras=3, in L/min and given external flow rates (i.e., inflow into the tanks from outside): ro1=3, ro2=3, ro3=3, ro4=3, ros=2, ro;=2, ros=3, in L/min Note: r= ro1 + roz + ras + roa + ros + ro7+ ro8
HW6_3 For a system of nine interconnected tanks (shown at right), the mass- balance equations are: roi Co1 + r41C4 = (r12 +r15)C1 ro2C02 + r12C1 + r52©5 = (r23 + r26)©2 r'03C03 + r23C2 = r36C3 (r41 + ras + r45)c4 T15C1 + r45C4 = (r52 + rs8 + rs9)C5 T04C04 + r74c7 = ro6 C06 + r26©2 + r36C3 = "69C6 ro7C07 + r87Cg = r74C7 Tos Cos + 158C5 + r48C4 (rs7 + rs9)cs T'59C5 + ro9C6 + r'89C8 = rC9 The concentration of chemical inflow into tank T, is designated c, and the initial concentration in tank T, is designated Co. The flow rate from tank T, to Tj is designated rj. Furthermore, the total flow into each tank must equal the flow out, r (from tank 9). Given initial concentrations: Co1=1, Coz=2, Co3=1, Cos=2, Cos=1, Co7=1 and Cos=1, in g/L given flow rate between tanks: r12=6, ris=2, r3=5, r2s=5, rss=8, ra1=5, ras=1, ras=1, rsz=1, rse=2, rs9=1, res=15, r7=4, ray=2, ras=3, in L/min and given external flow rates (i.e., inflow into the tanks from outside): ro1=3, ro2=3, ro3=3, ro4=3, ros=2, ro;=2, ros=3, in L/min Note: r= ro1 + roz + ras + roa + ros + ro7+ ro8
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question

Transcribed Image Text:Coding problems:
HW6_3 For a system of nine interconnected tanks (shown at right), the mass-
balance equations are:
ro1 Co1 + T41C4
ro2C02 + r12C1+r52C5 =
(r12 + r15)C1
(r23 + r26)c2
T03C03 + 123C2
= r36C3
(r41 +r48 + r45)C4
T15C1 + T45C4 = (r52 + r58 + r59)C5
r04 C04 + 774C7 =
r06 C06 + r26C2 + r36C3 = r69C6
ro7 C07 + r87 Cs = 174C7
ro8 Co8 + r58 C5 + T48C4 =
(rs7 + rs9)Cs
r'59C5 + r69C6 + T89C8 = rc9
The concentration of chemical inflow into tank T, is designated c, and the initial concentration in tank T, is
designated Coi. The flow rate from tank Ti to Tj is designated rij. Furthermore, the total flow into each tank must
equal the flow out, r (from tank 9).
Given initial concentrations:
Co1=1, Co2=2, Co3=1, coa=2, Co6=1, Co7=1 and Cos=1, in g/L
given flow rate between tanks:
r12=6, rıs=2, r23=5, r26=5, r36=8, ra1=5, ras=1, ras=1, rsz=1, rss=2, rs9=1, r69=15, r74=4, r37=2, ras=3, in L/min
and given external flow rates (i.e., inflow into the tanks from outside):
roz=3, ro2=3, ro3=3, ro4=3, ro6=2, roz=2, ros=3, in L/min
Note: r= ro1 + roz + ro3 + roa + ro6 + ro7 + ros
ME2315 Computer-Aided Analysis Spring 2022
HW #6 due 03/02/2022
page 2 of 2
With these given parameters we can solve for the concentrations in the tanks. Write a MATLAB script to solve
for these concentrations using Gauss-Seidel, to an accuracy of 5 sig figs. Use fprintf statement to print the
final answer.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY