Be the first to rate this file! 5 Downloads (last 30 days) File Size: 1.54 KB File ID: #26621
image thumbnail

orderseek - Finds chemical reaction order

by Brad Ridder

 

08 Feb 2010 (Updated 10 Feb 2010)

Returns the reaction order, r-squared value, rate constant, and half life.

| Watch this File

File Information
Description

From undergraduate chemistry, we know how to test whether a reaction is 0th, 1st, or 2nd order by plotting different transformations of the data, and inspecting which plot fits the best.

This program does the same thing. It transforms the data using different values of the order, attempting to maximize the Pearson r-squared value. Its much faster than making and inspecting a multitude of different plots.

The picture above is essentially an example.

I used the Wikipedia article for the n-th order transformation equation. (http://en.wikipedia.org/wiki/Rate_equation#Summary_for_reaction_orders_0.2C_1.2C_2_and_n)

Required Products Optimization Toolbox
MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
10 Feb 2010

fixed a tiny little error in the correlation coefficient's calculation. all better now :)

Tag Activity for this File
Tag Applied By Date/Time
rate law Brad Ridder 09 Feb 2010 10:50:03
chemistry Brad Ridder 09 Feb 2010 10:50:03
chemical kinetics Brad Ridder 09 Feb 2010 10:50:03
order Brad Ridder 09 Feb 2010 10:50:03
rate constant Brad Ridder 09 Feb 2010 10:50:03
nth order Brad Ridder 09 Feb 2010 10:50:03
half life Brad Ridder 09 Feb 2010 10:50:03

Contact us at files@mathworks.com