function value = chebyshev1_sample ( )

%*****************************************************************************80
%
%% chebyshev1_sample() samples the Chebyshev1 distribution.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    01 August 2016
%
%  Author:
%
%    John Burkardt
%
%  Output:
%
%    real VALUE, a random value between 0 and 1.
%
  cdf = rand ( 1, 1 );

  value = chebyshev1_cdf_inv ( cdf );

  return
end
