The geometric distribution represents the number of successful trials
that occur before a failure is observed. The density function for the
geometric distribution is given by:
\[f(x) = {p}{(1-p)^{x}}\]
where p is the probability of failure per trial and x is the
number of successful trials.
Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering Solutions of Sandia, LLC., a wholly owned subsidiary of Honeywell International, Inc., for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA-0003525.