Question: Consider the process flow diagram shown in Fig. 2.14. We can write this out as the system of equations The first four equations are the

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?

1 2 3 4 5 m = m + m3 +m4 +m5 m2 = mg + m10 + m11 m5 = m8 +m7 +m6 Figure 2.14 Process schematic for Problem 2.80. 9 10 7 6 11 12

Step by Step Solution

3.40 Rating (156 Votes )

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 Numerical Methods With Chemical Engineering Applications Questions!