
% script to plot the sin and cos function

 figure
 hold on
 grid on
 title('Plot of sin and cos')
 x=[0:.01:2*pi];
 plot(x,sin(x))
 plot(x,cos(x))
 legend('sin','cos')
 return



