Setting up a system of equations for ODE45?
Mostrar comentarios más antiguos
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 comentario
Walter Roberson
el 6 de Dic. de 2011
Is E(0)=0 as in the previous iteration of the question?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!