function mean = binomial_mean ( a, b )

%*****************************************************************************80
%
%% binomial_mean() returns the mean of the Binomial PDF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 September 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer A, the number of trials.
%    1 <= A.
%
%    real B, the probability of success on one trial.
%    0.0 <= B <= 1.0.
%
%  Output:
%
%    real MEAN, the expected value of the number of
%    successes in A trials.
%
  mean = a * b;

  return
end
