Setting up a system of equations for ODE45?
Afficher commentaires plus anciens
I had asked this question yesterday but quickly realized i made some invalid assumptions. I need to set up a system of equations to solve with ode45 for the following equations. My goal is to maximize E.
dN/dt = k6*N
dE/dt = (k2*N*S)/(k5+S) - k3*N^2 - k4*E*t
dS/dt = -k7*9
The k values are as follows:
k2 = .21
k3 = 4*10^-8
k4 = .1
k5 = .05
k6 = 1
k7 = 2*10^-7
Any help would be greatly appreciated. I know how to set up for the first and last equations but that middle one messes me up.
1 commentaire
Walter Roberson
le 6 Déc 2011
Is E(0)=0 as in the previous iteration of the question?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!