Question: matlap roject Description: 1) System Equations: The mass balance equations need to be used for the reactor and the separator. Also, the rate equation for
roject Description: 1) System Equations: The mass balance equations need to be used for the reactor and the separator. Also, the rate equation for the chemical reaction is needed. The mathematical modeling equations are as following: - Material balance equations for the reactor: dtdCA=VRQ(CAiCA)kCACBdtdCB=VRQ(CBiCB)kCACB+VRRQCBdtdCAB=kCACBVRQCAB where 2) Initial conditions: use the following initial conditions for the above differential equations: - CAi=2 - CBi=1 - CABi=0 3) Parameters: The following parameters should be used in your simulation: k=0.1 - Q=1 - VR=10 - R=0.5 - Time span =[010] 4) Programming Restrictions: Use the "while" loop to iterate through time steps and update the concentrations. Also, use "for" loop to store the code solution. Your task is to practice the use of "if else" as well through your code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
