Answered step by step
Verified Expert Solution
Question
1 Approved Answer
thanks so much You are performing an experiment in which the concentration, CA, of a reactive species is measured as a function of time, t,
thanks so much
You are performing an experiment in which the concentration, CA, of a reactive species is measured as a function of time, t, at several temperatures, T. At a fixed temperature, CA varies with t according to the relation 1/CA=1/CA0+kt where CA (mol/liter) is the concentration of A at time t(min),CA0(mol/ liter) is the inital concentration of A, and k[L/(molmin)] is the reaction rate constant. The rate constant in turn depends on temperature, according to the formula k=k0exp[E/(8.314T)] where k0 is a constant, T(K) is the reactor temperature, and E(J/mol) is the reaction activation energy. Write a computer program that will carry out the following tasks: (a) Read in MA, the molecular weight of A, and NT, the number of temperatures at which measurements were made. (b) For the first temperature, read in the value of T in C, the number of data points, N; and the concentrations and times (t1,CA1),(t2,CA2),,(tn1,CAn), where the times are in minutes and the concentrations are in grams of A /iter. (c) Convert the temperature to kelvin and the concentrations to mol A/L. (d) Use the method of least squares (Appendix A.1) in conjunction with Equation 1 to find the value of k that best fits the data. (Hint: First cast the equation in the form y=kx+b.) Store the values of k and T in arrays. (e) Print out in a neat format the values of T(K), the converted concentrations (mol/L) and times, and k. (t) Repeat steps (b) through (d) for the other temperaturesStep 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