x=-2:0.01:2;
y=x.^2.*sin(x.^2-x-2);
plot(x,y);
figure(2);
fplot(@(x)[x^2*sin(x^2-x-2)],[-2 2]);
figure(3);
ezplot(@(x)[x.^2.*sin(x.^2-x-2)],[-2,2]);
x=-2:0.01:2;
y=x.^2.*sin(x.^2-x-2);
plot(x,y);
figure(2);
fplot(@(x)[x^2*sin(x^2-x-2)],[-2 2]);
figure(3);
ezplot(@(x)[x.^2.*sin(x.^2-x-2)],[-2,2]);