Coupled ODE for chemical reaction

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 6K views
numbified
Messages
1
Reaction score
0
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!
 
Engineering news on Phys.org
numbified said:
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 that's the case, the solution is the following:

For component A:

[tex]\frac{dC_{A}}{dt}=-kC_{A}C_{B}[/tex]


component B:

[tex]\frac{dC_{B}}{dt}=-kC_{A}C_{B}[/tex]


and component C:


[tex]\frac{dC_{C}}{dt}=kC_{A}C_{B}[/tex]



I think i have done this right.

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

Take care.

(sorry, there was a mistake in the MB, i have changed it now)
 
Last edited:
thank you for your guides