Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions