%
% --------------- jagged2 ------------------
%
function r = jagged2(x,y);
r = abs(x-.8)+.3*abs(x-.5) - .8*abs(x) + .4*abs(x+.3) -y;