function determ = routh_determinant ( n, x )

%*****************************************************************************80
%
%% ROUTH_DETERMINANT returns the determinant of the ROUTH matrix.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    25 October 2007
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the order of A.
%
%    real X(N), the data that defines the matrix.
%
%  Output:
%
%    real DETERM, the determinant.
%
  determ = prod ( x(n:-2:1) );

  return
end
