%
clear all;
clc;
t=(5:15:360)*pi/180; %obtain radians
sines=[];
for i=1:length(t)
    sines(i)=sin(t(i));
end
cosines=[];
for i=1:length(t)
    cosines(i)=cos(t(i));
end
subplot(3,1,1) 
stem(t,sin(t),'k') 
grid on 
xlabel('Time(t)') 
ylabel('Sine values') 
subplot(3,1,2) 
stem(t,cos(t),'b') 
grid on 
xlabel('Time(t)')
ylabel('Cosine values') 
subplot(3,1,3) 
stem(t,sin(t)./cos(t),'r') 
grid on
xlabel('Time(t)') 
ylabel('Tangent values');