Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2 for lab 3 has an error. The b vector has 6 elements instead of 5. Please use: b = 5 6 7 8

image text in transcribed
image text in transcribed
image text in transcribed

Problem 2 for lab 3 has an error. The b vector has 6 elements instead of 5. Please use:

b = 5 6 7 8 9

First two characters of first name: MI

Last 2 digits of student number: 33

Your Matlab script must follow the instructions below otherwise, a heavy deduction will be applied: - All the user-defined names (parameters', variables', functions', and any names) other than Matlab built-in functions must be unique from other students. - You must combine your name characters (first two characters of your first name) and your last two digits of your student number. - For "for loop indexing", you must use the combination of last two characters of first name and your last digits of your student number. Even if one of your user-defined names is same as other student's, the students will be individually asked to verify their seripts and the scripts will be tested using a Matlab seript that shows % of similarity between the scripts as well. Deseriptive comments must be embedded on each line of your codes so that someone understand your codes to use. Otherwise, a heavy deduction will be applied. If comments are same as those of other scripts, the students will be individually asked to verify their scripts and the seripts will be tested using a Matlab script that shows % of similarity between the scripts as well. P1 (problem 12.4) - Compute the reactor concentrations from cl to c5 shown in Fig above using the Gauss climination method, if the flow rates are changes to: Q01=a,Q31=3,Q25=2,Q23=2Q15=4,Q55=3,Q54=3,Q34=7Q12=4,Q03=8,Q24=0,Q44=10 minmout=0;m=Q(sm3)c(m3kg) where m is the mass flow rate, Q is the volumetric rate, c is the concentration. - Determine the upper bound of the approximate relative true error for your solution. P2. Write your code for partial pivoting. Use the following matrix a and b. You must write codes for any size of matrix a P3. Do P1 with partial pivoting

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals of Thermal-Fluid Sciences

Authors: Yunus A. Cengel, Robert H. Turner, John M. Cimbala

5th edition

78027680, 78027683, 9781760421359, 978-0078027680

More Books

Students also viewed these Chemical Engineering questions

Question

10-9 How have social technologies changed e-commerce?

Answered: 1 week ago