Hi Im a beginner and tried plotting the following function, Z, but it does not seem to work. Can anyone help me?

x=0:10:200;

y=0:0.05:1;

[X,Y]=meshgrid(x,y);

Z=(-0.5)*x.*(x+1)*(x-1)*((y.^x./x)-(2*(y.^(x-1))./(x-1))+(y.^(x-2))/(x-2)-2/(x.*(x-1)*(x-2)));

surf(X,Y,Z)

## Best Answer