% compute inner product
x = [1 2 3 4 5];
y = [10 10 10 0 0 ];

index = 1;
sum = 0;

for el = x
    sum = sum + x(index) * y(index);
    index = index + 1;
end;
%disp (z);
disp (sum);