function x = chebyshev1 ( n )

%*****************************************************************************80
%
%% chebyshev1() returns the Type 1 Chebyshev points.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    02 March 2018
%
%  Author:
%
%    John Burkardt.
%
%  Input:
%
%    integer N, the number of points.
%
%  Output:
%
%    real X(N), the points.
%
  x(1:n) = cos ( ( 2.0 * (0:(n-1)) + 1.0 ) * pi / 2 / n );

  return
end
