function sinus(a)
x=[0:0.02:a];
y=sin(x);
figure,
plot(x,y);
grid on 