delete task2.txt
diary task2.txt

clear all   % remove old variable definitions
echo on   % display the input in the command window
format long   % turn on 15 digit display

x = [0.1, 0.01, 0.001, 0.0001];   % define the x values
y = sin(x)./x   % compute the desired quotients

% These values illustrate the fact that the limit of
% sin(x)/x as x approaches 0 is 1.

echo off
diary off
