function x = burr_sample ( a, b, c, d )

%*****************************************************************************80
%
%% burr_sample() samples the Burr PDF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    07 April 2022
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real A, B, C, D, the parameters of the PDF.
%    0 < B,
%    0 < C.
%
%  Output:
%
%    real X, a sample of the PDF.
%
  cdf = rand ( 1, 1 );

  x = burr_cdf_inv ( cdf, a, b, c, d );

  return
end
