Question: 4. Using Matlab A second order gas phase reaction is known to have the rate expression of the form: rate = kP, P, B The
4. Using Matlab A second order gas phase reaction is known to have the rate expression of the form: rate = kP, "P, B The following data was obtained for a lab scale reactor. Rate Pa Pb 0.7051 0.2044 0.2036 0.8302 0.2049 0.3871 0.8342 0.2030 0.6051 1.5155 0.3582 0.2507 1.7663 0.3608 0.4100 1.7981 0.3407 0.5669 1.8217 0.4501 0.1922 2.0976 0.4437 0.2944 2.3780 0.4494 0.6389 2.3313 0.5778 0.2017 2.9227 0.5880 0.3580 3.3632 0.6014 0.6037 Find the values of k, a and B and print the values using the fprintf statement in the following format: The value of k is *.**** The value of a is *.**** The value of B is *.**** Note: The symbol a can be written in MATLAB as \x3B1 and the symbol B can be written as \x3B2 As part of your solution write a function named Mregress that will perform multiple linear regression that can be called from the main script file where the data is defined (ie the data is passed to your function)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
