x=-5:0.05:5;
y=cos(2*x);
plot(x,y);