You are on page 1of 1

f=inline('(X.^2+Y.

^2)');
x1=0;y1=0;xn=0.2;h=0.1;
x=(x1:h:xn);
[x,y]=ode23(f,x,y1);
fprintf('\n Value of yg=%f',y);

You might also like