Question: 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

With these given parameters we can solve for the concentrations in theWith 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.

DO NOT COPY ANY OTHER ANSWER!!! ANSWER MUST BE ORIGINAL AND MUST CONTAIN FPRINTF STATEMENT. THIS MUST BE AN ORIGINAL SCRIPT OR IT WILL BE DOWNVOTED.THE CODE IS FOR MATLAB!!!!!

HW6_3 For a system of nine interconnected tanks (shown at right), the mass- balance equations are: 7, T4 T roico1 + 141C4 = (112 + r15)ci r02C02 + r1201 + r52C5 = (r23 + r26)c2 ro3 C03 + 7'23C2 = 136C3 T04C04 + 174C7 = (r41 + 1'48 + r45)C4 T 1501 + r45C4 = (152 + 758 + 759) C5 106C06 + 126C2 + 136C3 = 169C6 ro7C07 + 18708 = 174C7 To8C08 + 158C5 + r48C4 = (r87 + r89)cs 759C5 + 169C6 + 1'89C8 = rcg The concentration of chemical inflow into tank T; is designated and the initial concentration in tank T; is designated Coi. The flow rate from tank Tito 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, Co4=2, C6=1, Coz=1 and Cos=1, in g/L given flow rate between tanks: 12=6, r15=2, r23=5, 126=5, 136=8, 141=5, r45=1, r43=1, 152=1, 58=2, r59=1, r69=15, 174=4, 187=2, r89=3, in L/min and given external flow rates (i.e., inflow into the tanks from outside): ro1=3, roz=3, ro3=3, ro4=3, ro6=2, roz=2, ro8=3, in L/min Note: r= r01 + roz + ro3 + 04 + r06 + roz+ros

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Chemical Engineering Questions!