function [b,flopcount] = Matrix_Vector_Mult2(A,x,n)
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here

   flopcount = 0;

   for i = 1:n
      b(i,1) = 0;
      for j = 1:n
         b(i,1) = b(i,1)+x(j,1)*A(i,j);
         flopcount = flopcount+2;
      end
   end

end

