% This M-file calculates and plots the function sin(X)
% for 0 < = x < = 6 in steps of 0.1.
% Created/copyright Dr. C. S. Tritt, 9/21/10, v. 1.0
x = 0:0.01:6; 
y = sin(x);
plot(x, y);