Question: MATLAB code Urgent Help Needed. Due in 3 hours. please help and solve all parts by reading Question correctly Chemical Reaction Rate First order chemical

MATLAB code Urgent Help Needed. Due in 3 hours. please help and solve all parts by reading Question correctly

MATLAB code Urgent Help Needed. Due in 3 hours. please help and

solve all parts by reading Question correctly Chemical Reaction Rate First order

Chemical Reaction Rate First order chemical reactions can be modeled using exponential functions. Hydrogen Peroxide (H2O2) decomposes as a 1" order reaction into water and oxygen gas: 2H,02 2H,0 + 0, The concentration of hydrogen peroxide decreases exponentially according to the following equation: C(t) = Coekt C(O) = Concentration at time t (M or mols/L) Co Initial Concentration (M) k = Reaction rate (sl) The reaction rate, k, depends on the temperature according to Arrhenius' Equation (also exponential): k = Ae-E./(RT) A = Frequency Factor Ea = Activation Energy (J/mol) R - Ideal Gas Constant = 8.314 (J/(mol*K)) T= Absolute Temperature (K) . Develop a MATLAB function that meets the following specifications: Has four input arguments. Frequency Factor (A), Activation Energy (Ea), Absolute Temperature (T), and Initial Concentration (Co). Assume the user will enter values in the units indicated above and all inputs will be valid. Has two output arguments, Reaction Rate, k, and Decomposition Time = 5/k (seconds) Includes comments explaining the purpose of the function and a usage statement showing how to run the function in the command window. The function should calculate the reaction rate (k) and decomposition time (5k) using the input arguments and Arrhenius' Equation. The reaction rate and decomposition time should be sent to the command window via the output arguments (no fprintf or disp statements) . The function should also produce a plot of the concentration (C) vs. time with time on the X-axis starting at 0 and ending at the decomposition time. Include labels and title on plot

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!