Calculates the probability of a binomial distribution event for up to 99 trials. Also, calculates the expected value for the number of attempts needed in order to achieve the first success.