function mean = beta_mean ( a, b )

%*****************************************************************************80
%
%% beta_mean() returns the mean of the Beta PDF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    02 September 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real A, B, the parameters of the PDF.
%    0.0 < A,
%    0.0 < B.
%
%  Output:
%
%    real MEAN, the mean of the PDF.
%
  mean = a / ( a + b );

  return
end
