Está en la página 1de 3

m = 0.

3; "h-1";
ks = 0.1; "g/L";
= 0.03; "gpro/gcel.h";
= 0.08; "gprop/gcel";
re = 0.8; "gcel/gsust";
m * s[t]
= ; "cinetica de monod";
ks + s[t]
qs = / re; "velocidad especifica de consumo de sustrato";
qp = * + ; "velocidad especifica de formacion de producto";

sol = NDSolve[{x '[t] * x[t], s '[t] - qs * x[t],


resolvedor diferencial numrico
p '[t] qp * x[t], x[0] 0.01, s[0] == 10, p[0] 0}, {x, s, p}, {t, 0, 50}]

Domain: {{0., 50.}}


x InterpolatingFunction ,
Output: scalar

Domain: {{0., 50.}}


s InterpolatingFunction ,
Output: scalar

Domain: {{0., 50.}}


p InterpolatingFunction
Output: scalar

g1 = Plot[Evaluate[{x[t], s[t], p[t]} /. sol],


repr evala
{t, 0, 50}, PlotRange All, Frame True]
rango de repre todo marco verdadero

10

0
0 10 20 30 40 50
2 Tarea1.nb

m = 0.3; "h-1";
ks = 0.1; "g/L";
= 0.06; "gpro/gcel.h";
= 0; "gprop/gcel";
re = 0.8; "gcel/gsust";
m * s[t]
= ; "cinetica de monod";
ks + s[t]
qs = / re; "velocidad especifica de consumo de sustrato";
qp = * + ;
"velocidad especifica de formacion de producto";

sol1 = NDSolve[{x '[t] * x[t], s '[t] - qs * x[t],


resolvedor diferencial numrico
p '[t] qp * x[t], x[0] 0.01, s[0] == 10, p[0] 0}, {x, s, p}, {t, 0, 50}]

Domain: {{0., 50.}}


x InterpolatingFunction ,
Output: scalar

Domain: {{0., 50.}}


s InterpolatingFunction ,
Output: scalar

Domain: {{0., 50.}}


p InterpolatingFunction
Output: scalar

g2 = Plot[Evaluate[{x[t], s[t], p[t]} /. sol1],


repr evala
{t, 0, 50}, PlotRange All, Frame True]
rango de repre todo marco verdadero

15

10

0
0 10 20 30 40 50
Tarea1.nb 3

Show[g1, g2]
muestra

15

10

0
0 10 20 30 40 50

También podría gustarte