Question

use matlab

The following table contains information from a chemistry experiment in which the concentration of a product was measured at

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Code:

clear
clc
% C = a - be^-0.2t
% Comparing with linear eq. Y = MX + C
%Y = C , M = b , X = e^-0.2t

t = 0:8;
C = [3.033 3.306 3.672 3.929 4.123 4.282 4.399 4.527 4.622];

Y = C;
X = exp(-0.2.*t);
p = polyfit(X, Y, 1);
b = -p(1)
a = p(2)
%Ce is C calculated from equation
Ce = a - b.*exp(-0.2.*t);
plot(t, C, 'r*',t, Ce, 'b-');

Output:

4.8 4.6 4.4 4.2 3.8 3.6 3.4 3.2Command Window b= 2.0266 5.025 fx >>

Add a comment
Know the answer?
Add Answer to:
use matlab The following table contains information from a chemistry experiment in which the concentration of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • For the following system of linear equations, use MATLAB of solution or no solution exists. Accor...

    Use MATLAB to solve question 7 For the following system of linear equations, use MATLAB of solution or no solution exists. Accordingly, take the appropriate action. Explain your answers 1. to determine whether a unique solution, infinite numbe 3X1 + 4X2 + 2X3-X4 + χ5 + 7x6 + x,-42 2X1-2X2 + 3x3-4X4 + 5X5 + 2x6 + 8x7-32 x1 + 2x2 + 3x3 +x4 + 2x5 + 4x6 + 6x7 = 12 5x1 + 10x2 + 4x3 + 3x4 +9X5-2X5...

  • please help with #1 a and b. thank you Use the following data for all problems:...

    please help with #1 a and b. thank you Use the following data for all problems: The data below defines the sea-level concentration of dissolved oxygen for fresh water as a function of temperature: T°C omg/L 0 8 16 14.621 11.843 9.870 24 32 40 8.418 7.305 6.413 a. Approximate o(19) using a 1st order Newton's interpolating polynomial. b. Approximate o(19) using a 2nd order Newton's interpolating polynomial. 2) Use linear algebra to find the coefficients of the 2nd order...

  • plz help asap Excel Spreadsheet: Part A: Use Excel to generate a spreadsheet with the following information. Co...

    plz help asap Excel Spreadsheet: Part A: Use Excel to generate a spreadsheet with the following information. Column A Enter the measured masses of sodium carbonate from data page #1 в Using stoichiometry, calculate the theoretical number of moles of CO2 that can be produced from each reactant entry. C Using the ideal gas law, measured volume, and temperature, calculate the theoretical pressure of CO2(g) that can be produced from the theoretical moles of CO2(8) D Actual measured pressures of...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT