% arxeio  praxeis.m 
% pragmatopoihsh praxeon bathmoton arithmon  + , - , / , log , exp , ^


x = 10;
y = 20;

% prosthesi. to apotelesma apothikeyetai se kainoyrgio pinaka -z- 
% me megethos 1X1
z = x + y;
disp(z)

% aferesi. to apotelesma apothikeyetai se kainoyrgio pinaka -q- 
% me megethos 1X1
q = x - y;
disp(q)


% diairesi. to apotelesma apothikeyetai se kainoyrgio pinaka -w- 
% me megethos 1X1
w = x / y;
disp(w)

% logarithmos log. to apotelesma apothikeyetai se kainoyrgio pinaka -wlog- 
% me megethos 1X1
wlog = log(x) / log(y);
disp(wlog)

% i sinartisi log basizeai ston fisiko-neperio logarithmo me base to -e-

% adistoixa i sinartisi log10(arithmos) einai o logarithmos me basi to 10
% ta computer akia poy exoyme otan grafoyme log pragmatopoioyn ayti tin
% praxi

tenlog = log10(x) / log10(y);
disp(tenlog)

% h yposi se dinami pragmatopoieitai me to simbolo ^
power_a = x ^ y;
disp(power_a)


