function demoWay

x = linspace(0.2,0.5);

for i=1:length(x)
    f(i) = wayfun(x(i));
end
plot(x,f);
grid('on')