% sin_x.m: This m-file calculates and plots the 
% function sin(x) for 0 <= x <= 6.
x = 0:0.1:6;
y = sin(x);
plot(x,y);
