function x = chi_sample ( a, b, c )

%*****************************************************************************80
%
%% chi_sample() samples the Chi PDF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 September 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real A, B, C, the parameters of the PDF.
%    0 < B,
%    0 < C.
%
%  Output:
%
%    real X, a sample of the PDF.
%
  x = chi_square_sample ( c );

  x = a + b * sqrt ( x );

  return
end
