clear;
clc;

syms x t X omega;
x = 2 * exp(-4*t) * cos(10*t)
X = simplify(int(x*exp(-j*omega*t),t,0,inf))

ezplot(x,0,2);
axis([0 2 -1 3]);
ylabel('x(t)');
% pause;
ezplot(abs(X),0,50);
ylabel('Magnitude of X');