%% 
clear all;
set(0, 'DefaultLineLineWidth', 4);

% h = 0.000001; (2^h-1)/1
% h = 0.000001; (3^h-1)/1

%%
x = linspace(-1, 1, 10001);
plot(x, 2.^x); legend('2^x', 'Location', 'Northwest');

%%
x = linspace(-1, 1, 10001);
plot(x, 2.^x, x, 1+x); legend('2^x', '1+x', 'Location', 'Northwest');

%%
x = linspace(-1, 1, 10001);
plot(x, 3.^x, x, 1+x); legend('3^x', '1+x', 'Location', 'Northwest');

%%
x = linspace(-1, 1, 10001);
plot(x, exp(x), x, 1+x); legend('e^x', '1+x', 'Location', 'Northwest');

