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


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
Get step-by-step solutions from verified subject matter experts
