% Problem Set #1 - Problem 5

t=-1:.001:2;
x = 5*exp(-2*t) .*cos(20*pi*t) .* (t>=0);
plot(t,x);
xlabel('t');
ylabel('x');   
title('Problem 5');
