# Coupled ODE for chemical reaction

1. Apr 7, 2007

### numbified

I have a problem.. for a reaction

A + B --> C

how do i generate 3 coupled differential equations so that i can sole this using MATLAB ?
it is given that rate = kAB

thnks!

2. Apr 7, 2007

### siddharth

Solve for what? Can you be more specific?

3. Jul 18, 2007

### RuiMonteiro

I'm not sure what you're asking for, but i think its the material balance to each component in a Batch Reactor, if thats the case, the solution is the following:

For component A:

$$\frac{dC_{A}}{dt}=-kC_{A}C_{B}$$

component B:

$$\frac{dC_{B}}{dt}=-kC_{A}C_{B}$$

and component C:

$$\frac{dC_{C}}{dt}=kC_{A}C_{B}$$

I think i have done this right.

It's now easy to implement this in Matlab and get the $$C_{i}(t)$$ plots.

Take care.

(sorry, there was a mistake in the MB, i have changed it now)

Last edited: Jul 18, 2007
4. Jul 26, 2007