function y = prob3eq2(val)

% Problem 3 equation:  exp(-x) - x;

y = exp(-val) - val;
