Question
create MATLAB script with plenty of comments to solve the following question. A chemical reaction changes colour as it progresses, becoming more opaque.
create MATLAB script with plenty of comments to solve the following question.
A chemical reaction changes colour as it progresses, becoming more opaque. The progress of the reaction can be monitored by measuring the amount of light absorbed as light passes through the solution. The absorption is measured on a scale of 0 to 20 where 0 is no light absorption at all (transparent) and 20 is complete_ absorption (completely opaque). The reaction slows down as it progresses, and eventually approaches a maximum value of absorption.
(the question linked to a data set txt. file which I will copy down below).
Import it into Matlab to help answer the following questions:
(a) Fit a linear trend to the data (y = m * x + c). Give values for c and m to 4 decimal places.
Note: the fit will be quite poor.
c= ? m= ?
Fit a saturation growth model to the data: y = ax/(b+x)
Give the values of coefficients a and b (to 4 decimal places):
a= ? b= ?
absoprtion4.txt
t (min) absorption 0 0.00 1 2.06 2 3.38 3 4.46 4 5.16 5 5.74 6 6.18 7 6.72 8 6.91 9 7.34 10 7.47 11 7.74 12 7.81 13 8.03 14 8.20 15 8.27 16 8.34 17 8.54 18 8.72 19 8.75 20 8.78 21 8.91 22 8.96 23 8.87 24 8.91 25 9.24 26 9.04 27 9.28 28 9.14 29 9.27 30 9.42
^copy and paste from text file- please import into MATLAB
PONN000000 t (min) absorption 0.00 1 2.06 2 3.38 3 4.46 4 5.16 5.74 6 6.18 7 6.72 8 6.91 9 7.34 012345678GODNE4567866 DEELLEEN2222222223 10 7.47 11 7.74 12 7.81 13 14 8.03 8.20 15 8.27 16 8.34 17 18 19 20 21 8.54 8.72 8.75 8.78 8.91 22 8.96 23 8.87 24 8.91 25 9.24 26 9.04 27 28 9.28 9.14 29 9.27 30 9.42
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started