function myshowfun(xmin, xmax, fun);

xpoints = xmin:0.1:xmax;
ypoints = zeros(length(xpoints));
i = 1;
for x = xpoints
    ypoints(i) = feval(fun, x);
    i = i + 1;
end;

plot(xpoints, ypoints);