% Ex. 2-4-26 in MatLab

% functions used f.m , euler1.m

% Main

% Ex 2-4-26(a). 
[Xa,Ya] = euler1(0,120,25,120); % Generate table 
[Xa,Ya] % Display the table

% Ex 2-4-26(b). 
[Xb,Yb] = euler1(0,120,25,240); % Generate table 
[Xb,Yb] % Display the table

% Give user instructions
display(' ')
display('To look at data - ')
display('Type [Xa,Ya] to see data for 120 month steps')
display('Type [Xb,Yb] to see data for 240 half-month steps')
display(' ')

