Question: Please edit all the errors I had Copy and paste the right code Here is my code I used %Declare and initialize vector A AVector


![0.42, 0.54, 0.10; 0.35, 0.16, 0.21, 0.01]; %Declare and initialize vector B](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3db6f2cbbb_45466f3db6ebd9d5.jpg)
Paratione X) styrene (S), Tour (T) and benzone (B) are to be separated with the array of distitation columns shown below. A component material balance wound each the entre distilation train yields Xylene 01BP 0.70 +0 188, +0:150), +0:24, Styre: 0.25 0.040, +0.348, +0.1D, +0.65 Toluene: 40.511, +0:48+0.541), +0.108 Benzene 0.37 0.50 +0.16+0.210,01 . Came the molar flow rates of DD, and, and store in variaties D1, D2, B1, and 12 Determine the molar flow rates and compositions of stoom and and store in variable and D. | Kyu v 4% Styrene 54% Toluna 35%. Banane I D 25 Styrene 40. Toluene THI BI F-70 g-molimin 18% Xylane 24% Styrene 42% Toluene 16% Brane D 15% xylene Determine the molar flow rates and compositions of stream B and D and store in variables Band D D. 7% Xylene 4% Styrene 54% Toluene 35% Benzone D B 15% Xylene 25% Styrene 40% Toluene 20% Benzone F=70 kg-moll min 18% Xylon 24% Styrene 42% Toluene 16% Bonzone D 15% Xylone 10% Styrene 54% Toluene 21% Benzone I B 24% Xylene 65% Styrone 10% Toluene 1% Benden 1 XDeclare and initialize vector A 2 Avector - (0.07, 8.18, 0.15, 0.24; 0.84, 0.24, 8.10, 0.65; 0.54, 0.42, 0.54, 0.10; 0.35, 0.16, 0.21, 0.01); 3 a XDeclare and initialize vector B Bvector - [0.15*108; 0.25*100; 0.40*100; 0.20*100); 7 Compute X value X_Value Avector\uvector; 9 10 11 fprintf(" Molar flow rates of the streams) 12 fprintf(' - - ') 13 D1 - X_Value(1); 14 fprintf(" Molar flow rates of the streams of 01 is 27,01) 15 B1 - X_Value(2); 16 fprintf(' Molar flow rates of the streams of B1 is X.2,81) 17 02 - X Value(3): ** fprintf(" Molar flow rates of the stream of 02 is X.27,02) 19 B2 - X_Value (4); 24 fprintf(" Molar flow rates of the streams of B2 is %.2f',B2) 21 D01+B1; 22 fprintf(" Molar flow rates of the streams of Dis X.2,0) 23 B-02+82; 24 fprintf(" Molar flow rates of the streams of B is %.2f ',B) 25 26 27 fprintf(" Molar flow rates & compositions of streams) 25 fprintf('n 29 XDX = (0.87*110.18*81)/D 34 XDs = (0.84 D1+0.24-B1)/D 31 XDt = (0.54*11+0.42081)/D 32 XDb - (0.35*D1+0.16*81)/D 33 XBX = (0.15 D2-0.24B2)/8 34 XBs = (0.1002+0.16*82)/8 35 XBts (0.5402-0.10982)/B I Assessment: Run P Protest results are not submitted for grading. To run all the tests and submit the results for grading, click Submit. check D1 (Pretest) Variable D1 has an incorrect value. check D2 (Pretest) Variable D2 has an incorrect value. check B1 (Pretest) Variable B1 has an incorrect value check B2 (Pretest) Variable B2 has an incorrect value check D (Pretest) Variable D has an incorrect value. check B (Pretest) Variable B has an incorrect value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
