# Coupled ODE for chemical reaction

## Main Question or Discussion Point

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!

Related Materials and Chemical Engineering News on Phys.org
siddharth
Homework Helper
Gold Member
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!
Solve for what? Can you be more specific?

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: