horzLine = '______________________________________________';
fprintf('\n\n            Homework #3, Problem 1 ');
fprintf('\n\n      Limit of (exp(x) - 1) / x as x -> 0 \n\n');
fprintf('    x         f(x)    |     x        f(x) \n%s \n', horzLine);

for n=1:8
    x = 10^(-n);
    yRight = (exp( x) - 1) / x;
    yLeft  = (exp(-x) - 1) / (-x);
    fprintf('%7.0e  %12.9f | %7.0e  %12.9f \n', x, yRight, -x, yLeft);
end;

fprintf('%s \n', horzLine);
fprintf('\n Answer = 1 \n\n');
