function [infnorm] = hw5afn(n,A)

   infnorm = 0;
   for i = 1:n
      rowsum = 0;
      for j = 1:n
         rowsum = rowsum+abs(A(i,j));
      end

      if rowsum > infnorm
         infnorm = rowsum;
      end
   end

end
