To use this m-file to generate Figure M7.8, enter the following at the MATLAB command window prompt:
k1 = 5/6; k2 = 5/3; k3 = 1/6; cafs = 10; [fsov,cbs,cas] = vandss(k1,k2,k3,cafs);
to plot Figure M7.8a, enter
plot(fsov,cas)
to plot Figure M7.8b, enter
plot(fsov,cbs)
Use the command:
fmin('vanmax',0,2)
ans =
1.2921
Use the commands:
x0 = [3;1.117]
[t,x] = ode45('vanvusse',[0 9],x0);
% [t,x] = ode45('vanvusse',0,9,x0); if you are using MATLAB 4.x
plot(t,x)
to find that you are at a steady-state for F/V = 4/7. Modify the function file if you wish to perform step changes, for example.