%% Solution to Problem Set A, Problem 2

%% Numerical Solution
% Turn on 15 digit display.
format long
clear all
% Assign values to the independent variable.
X = [0.1, 0.01, 0.001]
% Compute the desired values
Y = sin(X)./X
% These values illustrate the fact that the limit of 
% sin(x)/x as x approaches 0 is 1.

%% Graphical Solution
% We can also illustrate the same fact graphically.

close all
ezplot('sin(x)/x', [0 0.1])
hold on
plot(X, Y, 'o')
title 'The Limit of sin(x)/x'
hold off
