%Ameer Alkam 1120217

n = 0:1/100000:4*1/10000;
x = cos(2*pi*10000.*n);
figure(1); stem(n, x);

Y = abs(fftshift(fft(x)));
figure(2); plot(Y);
