this is my program function dy = react(t,y) dy = zeros(3,1); n=1; Ki=0.1; Vs=5; S= y(1); dS = [-Vs*(S)^n/((Ki)^n + (S)^n)]; dy = [dS]; and in command window, i wrote [T,Y]=ode45('react',[0 15],[0.2]) i am getting this T =
0 0.0030 0.0060 0.0090 0.0121 0.0225 0.0330 0.0434 0.0539 0.0593.......till 15.000 i have to plot dS/dt v/s S. please help
Best Answer