clc;                                                                                        % clear the Command Window
clear all;                                                                                  % clears all the variables in memory
close all;                                                                                  % close all ports and plots

adjacent_side = input('What is the length of the adjacent side of the triangle? ');         % get the length of the adjacent side
oppostite_side = input('What is the length of the opposite side of the triangle? ');        % get the length of the opposite side

the_angle = atand(oppostite_side/adjacent_side);                                            % calculate the anlge
the_hypotenuse = oppostite_side/sind(the_angle);                                            % calculate the hypotenuse
disp(['The angle is: ' num2str(the_angle)]);                                                % display the angle