% Creates a table that shows radians from a to b with an interval of c.
% with sine, cosine and tanget values.  The table will have a title and 
% headers and will only show values with a 2 decimal precision.
% Input: a - user-entered - start value for angle
%        b - user-entered - stop value for angle
%        c - user entered - interval for angle

a = input('Please enter the start value: ');
b = input('Please enter the stop value: ');
c = input('Please enter the interval: ');
theta = [a : c : b];
table = [theta; sin(theta); cos(theta); tan(theta)]
pause;
clc
disp('Convert radians to trig values');
disp('Radian	Sine	Cosine	Tangent');
fprintf('%10.2f%10.2f%10.2f%10.2f\n', table);
