function determ = fibonacci1_determinant ( n, f1, f2 )

%*****************************************************************************80
%
%% fibonacci1_determinant() returns the determinant of the FIBONACCI1 matrix.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    08 October 2007
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the order of A.
%
%    real F1, F2, the first two elements of the sequence
%    that will generate the Fibonacci sequence.
%
%  Output:
%
%    real DETERM, the determinant.
%
  if ( n == 1 )
    determ = 1.0;
  elseif ( n == 2 )
    determ = -1.0;
  else
    determ = 0.0;
  end

  return
end
