BinomialTheorem:

--------------------------------------------------------------------------
   Computes the binomial theorem. 
   Computes the probability of k
   occurences in n tries given the probability p.
--------------------------------------------------------------------------
   Form:
   pK = BinomialTheorem( n, k, p )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   n               (1,1)    Number of samples
   k               (1,1)    Number of occurences
   p               (1,1)    Probability

   -------
   Outputs
   -------
   pK              (1,1)    Probability

--------------------------------------------------------------------------

Children:

Math: Linear/Factorl