function variance = geometric_variance ( a )

%*****************************************************************************80
%
%% geometric_variance() returns the variance of the Geometric PDF.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 September 2004
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real A, the probability of success on one trial.
%    0.0 <= A <= 1.0.
%
%  Output:
%
%    real VARIANCE, the variance of the PDF.
%
  variance = ( 1.0 - a ) / ( a * a );

  return
end
