function x = weibull_sample ( a, b, c )

%*****************************************************************************80
%
%% weibull_sample() samples the Weibull PDF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    22 September 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real A, B, C, the parameters of the PDF.
%    0.0 < B,
%    0.0 < C.
%
%  Output:
%
%    real X, a sample of the PDF.
%
  cdf = rand ( 1, 1 );

  x = weibull_cdf_inv ( cdf, a, b, c );

  return
end
