function [y,numofmult] = hw0(A,n)

   numofmult = 0;
   y = 0;
   for i = 1:n
      for j = 1:n
         y = y+A(i,j)*A(i,j);
         numofmult = numofmult+1;
      end
   end
   y = sqrt(y);

end

