function z=ex1d(x,y)
lambda=-1;
z=lambda*y+cos(x)-lambda*sin(x);
