A=[1010,200,200;500,100,50;750,210,20]

s1=0;
s2=0;
s3=0;
for k=1:3
    s1=s1+A(k,1);
    s2=s2+A(k,2);
    s3=s3+A(k,3);
end
[s1,s2,s3]

help sum
sum(A)

pause;

Timi = [5;10;3]
pause;

disp(' Etairia A')
disp('>>s=0;')
pause;
s=0;

disp('>>for i=1:3' )
pause;
disp('    s = s + A(1,i)*Timi(i);')
pause;
disp('end ')

for i=1:3
    s = s + A(1,i)*Timi(i);
end

disp('>>s' )
pause;
s

disp(' ')
disp(' Etairia B....')
pause;
disp(' ')
disp(' Etairia C....')
pause;
disp(' ')

disp('?')


disp(' Enallaktika kai pio apla!!!')
pause;
disp('>>A*Timi')
A*Timi
