Question: Write a matlab code for this problem The following table contains information from a chemistry experiment in which the concentration of a product was measured

Write a matlab code for this problem

The following table contains information from a chemistry experiment in which the concentration of a product was measured at one minute intervals. Plot this data. Suppose it is known that this chemical reaction should follow the law:

C=abe0.2tC=abe0.2t

Change the variables such that the law becomes a linear function. Then use built-in polyfit function in MATLAB to find the coefficients of the linear function. Find a and b and then plot the graph of abe0.2tabe0.2t on the interval [0,10] (as a solid curve), along with the original data points (using *). What will be the eventual concentration?

t 0 1 2 3 4 5 6 7 8
C 3.033 3.306 3.672 3.929 4.123 4.282 4.399 4.527 4.622

Answer: a=5.025a=5.025 and b=2.0266b=2.0266 ------------------------------------------------------------------------------------------------- t = 0:8; C = [3.033 3.306 3.672 3.929 4.123 4.282 4.399 4.527 4.622];

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!