function plotSinx
% usage: plotSinx
% This function plots sin(x) from 0 to 2*pi
% there are no inputs or outputs (other than the plot itself)

% set the fixed domain
x = linspace(0,2*pi);

%define the sin function
f = sin(x);

% and plot
plot(x,f)