function send_something = find_sin_cos_tan(variablein,choose)
% i sinartisi send_something = cos(variablein); 
% dexete enan pinaka n stoixeion kai os deytero orisma ena noymero opoy an
% 1 = bres moy to imitono      (sin)
% 2 = bres moy to sinimitono   (cos)
% 3 = bres moy tin efaptomeni  (tan)
% se aditheti periptosi emfanise moy minima sfalmatos
%
% ===================== POS KALOYME THN SYNARTISI ======================
% 
% 1) apotelesma = find_sin_cos_tan(0:10,1)      (eyresi imitonoy apo 0~10)
% 2) my_matrix = 1:10;
%    apotelesma = find_sin_cos_tan(my_matrix,1) (eyresi imitonoy apo 0~10)
% 3) apotelesma = find_sin_cos_tan(20:2:30,3)   (eyresi tan apo 20 me bima
%                                                 2 mexri 30)
% 4) oti_thelo  = find_sin_cos_tan(20:2:30,2)   (emfanisi cos )
% 5) oti_thelo  = find_sin_cos_tan(20:2:30,12)  (error logo tis eisodoy 12)

if choose==1
    send_something = sin(variablein);
elseif choose==2
    send_something = cos(variablein);
elseif choose==3
    send_something = tan(variablein);
else
    error('den edoses sosto orisma eisodoy.  1=sin 2=cos 3=tan')
end

