You are on page 1of 1

f=inline('x.

^3+2*y+3');
x1=1;y1=1;xn=1.4;h=0.1;
x=(x1:h:xn);
[x,y]=ode23t(f,x,y1);
fprintf('\n Value of yg=%f',y);

You might also like