Consider the process flow diagram shown in Fig. 2.14. We can write this out as the system

Question:

Consider the process flow diagram shown in Fig. 2.14. We can write this out as the system of equations1 2 3 4 5 m = m + m3 +m4 +m5 m2 = mg + m10 + m11 m5 = m8 +m7 +m6 Figure 2.14 Process schematic for Problem

m12 = m4 +m7 +m1 m = 100 m5 = 5m8 0.84m12m4+m7 0.7m = m2 + m3 0.55m = mg + m12 0.2mg = m10 0.85m2 = mg + m11

The first four equations are the mass balances; the next eight equations are the process specifications.

(a) Write a MATLAB program that generates the matrix A and vector b required to solve the problem for this set of equations.

(b) Write a MATLAB program that solves this system using naive Gauss elimination. What happens? How do you fix it?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: