How do I graph second order reaction kinetics? Where do I input commands such as the reaction and its parameters?
2 views (last 30 days)
Show older comments
I am in need of help! I don't know how to graph a second order reaction with respect to time. It is an irreversible reaction but I don't know where to input the equation and concentrations and reaction rates in MATLAB to see the amount of change in concentration over time. If you could lead me through it, that would be much appeciated! Thank you!
2 Comments
Answers (1)
Star Strider
on 9 Sep 2015
I never thought about reacting tungsten and carbon to get hydrogen!
-dWdt = k*[W]*[C]
You have to know k, and the time-varying concentrations of [W] and [C] to plot them. The rate would be the instantaneous slope of that curve at any point. This is a relatively simple analytic integration (the integrated equation is given in the Wikipedia article), and you can also integrate it numerically if you so choose. You would then plot [W] as a function of time. See the documentation on plot for the details. Plotting the rate over time for this equation would yield a straight line.
Since I have no other information, I’ll stop here. If this explanation differs from what you’ve been instructed to do, provide details.
0 Comments
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!