Matlab Assignment 2 You are a chemical engineer that is in charge of monitoring the concentrations (the cs) for the
five interconnected reactors system as shown in Fig. 1 based on the given flow rate data for each reactor.
Fig. 1: Five reactors linked by pipes By using material balance analysis, the following equations can be written for all the reactors in the network: Reactor 1 (Q12 + Q15 )c1 + Q31 c3 = Q01 c01 Reactor 2 Q12 c1 (Q23 + Q24 + Q25 )c 2 = 0 Reactor 3 Q23 c 2 (Q31 + Q34 )c3 = Q03 c03 Reactor 4 Q24 c 2 + Q34 c3 Q44 c 4 + Q54 c5 = 0 Reactor 5 Q15 c1 + Q25 c 2 (Q54 + Q55 )c5 = 0
Your task will be to determine the unknown concentrations for all the reactors in the network by using the given flowrate data and input flow rate Q01 and Q03 and input concentrations c01 and c03 as shown in Fig. 1. Subsequently, perform the following analysis: 1. 2. Determine the new concentrations for the five reactors when the input concentration c01 and c03 is changed to 20 and 6, respectively. Recompute the concentration for the five reactors if the flows are changed to: Q01 = 5 Q31 = 2 Q25 = 3 Q23 = 1 Q15 = 3 Q55 = 4 Q54 = 2 Q34 = 9 Q12 = 4 Q03 = 10 Q24 = 0 By working individually or in a group of 2-5 people, solve the corresponding problem by using Matlab. Write a short report that summarizes what you did. The step-by-step procedures of your Matlab execution should also be provided. Your deliverables should also contain the corresponding Matlab codes that you used for your Matlab calculations. You are given 2 weeks to submit your analysis.