function plotSin3(x)
% usage: plotSin3(x) where x is a vector
% This function plots sin(x) over a domain, x, specified by user

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

% and plot
plot(x,f)