Question: Develop the matrix problems Ax = b for the following systems. Please develop a MatLab code for this problem and for all the parts. Develop
Develop the matrix problems Ax = b for the following systems.
Please develop a MatLab code for this problem and for all the parts. Develop your code logically and please make sure it is correct.


2. (40 points) Solving Engineering Problems Develop the matrix problems A for the following systems. (a) Reactor (20 points) Consider the following reactor system. Figure 1: Chemical reactor For volumetric flow rates Q in ma/s and mass inputs min with units ng/s, the conser- vation of mass in each of the reactor cores is as follows: QABTA mA QABrA QBAzB Qc. INSTRUCTIONS i. 10 points) write a MATLAB script named reactor 1-group#.m to solve the sys- tem using either m or axb2.groupt.m with E 1 x 10 Use the following parameters /s): QAB 40, QAC 80, QB 60, QBC 20 and Qcou 150 and the following parameters (in mg/s) mAa 1300 and mc, 200. In your report, compare the two solutions for the unknown concentrations za, zB and in mg/m3 ii. 10 points) Write a MATLAB script named reactor2-group#.m to solve the sys- tem using either axbl-group# m or m with 1 x 10-4 for the fol- lowing values of m 300, 500, 700, 900, 1000, 1100, 1200, 1300, 1400 and 1500. Create a figure and, on a single axis, plot the concentrations in each of the reactor cores as a function of the input m Place the figure and discuss the results in your report. 2. (40 points) Solving Engineering Problems Develop the matrix problems A for the following systems. (a) Reactor (20 points) Consider the following reactor system. Figure 1: Chemical reactor For volumetric flow rates Q in ma/s and mass inputs min with units ng/s, the conser- vation of mass in each of the reactor cores is as follows: QABTA mA QABrA QBAzB Qc. INSTRUCTIONS i. 10 points) write a MATLAB script named reactor 1-group#.m to solve the sys- tem using either m or axb2.groupt.m with E 1 x 10 Use the following parameters /s): QAB 40, QAC 80, QB 60, QBC 20 and Qcou 150 and the following parameters (in mg/s) mAa 1300 and mc, 200. In your report, compare the two solutions for the unknown concentrations za, zB and in mg/m3 ii. 10 points) Write a MATLAB script named reactor2-group#.m to solve the sys- tem using either axbl-group# m or m with 1 x 10-4 for the fol- lowing values of m 300, 500, 700, 900, 1000, 1100, 1200, 1300, 1400 and 1500. Create a figure and, on a single axis, plot the concentrations in each of the reactor cores as a function of the input m Place the figure and discuss the results in your report
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
