### The Binomcdf Function

The **binomcdf function** on the TI-84 calculator can be used to solve problems involving the probability of less than or equal to a number of successes out of a certain number of trials. For example, if you wanted to know the probability of less than or equal to 45 successes out of 100 trials, you could use the binomcdf function. Just like when computing the probability manually with paper and pencil, you also have to know the probability of success for any particular trial in order to find the answer. The syntax for the binomcdf function is binomcdf, where is the number of trials, is the probability of success for any particular trial, and is the number of successes.

#### Real-World Application: Rewards Cards

A local food chain has determined that 40% of the people who shop in the store use an incentive card, such as air miles. If 10 people walk into the store, what is the probability that *at most* half of these will be using an incentive card?

There are 10 trials, so .

A success is using a card. We are interested in at most 5 people using a card. That is, we are interested in 0, 1, 2, 3, 4, or 5 people using a card. Therefore, and .

The probability of a success is 40%, or 0.40, and, thus, .

Therefore, the probability of a failure is , or 0.60. From this, you know that .

The total probability for this example is calculated as follows:

Therefore, the probability of seeing at most 5 people using a card in a random set of 10 people is 83.4%.

You can see now that the use of the TI-84 calculator can save a great deal of time when solving problems involving the phrases *at least*, *more than*, *less than*, or *at most*. This is due to the fact that the calculations become much more cumbersome. You could have used the binomcdf function on the TI-84 calculator to solve the problem above. Binomcdf stands for binomial cumulative probability.

The key sequence for using the binomcdf function is as follows:

If you used the data from the problem above, you would find the following:

You can see how using the binomcdf function is a lot easier than actually calculating 6 probabilities and adding them up. If you were to round 0.8337613824 to 3 decimal places, you would get 0.834, which is our calculated value found in the problem above.

#### Calculating Probability

1. Karen and Danny want to have 5 children after they get married. What is the probability that they will have *less than* 3 girls?

There are 5 trials, so .

A success is when a girl is born, and we are interested in *less than* 3 girls. Therefore, and .

The probability of a success is 50%, or 0.50, and, thus, .

Therefore, the probability of a failure is , or 0.50. From this, you know that .

The total probability for this example is calculated as follows:

Therefore, the probability of having *less than* 3 girls in 5 children is 50.0%.

When using technology, you will select the binomcdf function, because you are looking for the probability of *less than* 3 girls from the 5 children.

2. A fair coin is tossed 50 times. What is the probability that you will get heads in *at most* 30 of these tosses?

There are 50 trials, so .

A success is getting a head, and we are interested in *at most* 30 heads. Therefore, , and, .

The probability of a success is 50%, or 0.50, and, thus, .

Therefore, the probability of a failure is , or 0.50. From this, you know that .

Obviously, you will be using technology to solve this problem, as it would take us a long time to calculate all of the individual probabilities. The binomcdf function can be used as follows:

Therefore, the probability of having *at most* 30 heads from 50 tosses of a fair coin is 94.1%.

### Example

#### Example 1

A fair coin is tossed 50 times. What is the probability that you will get heads in *at least* 30 of these tosses?

There are 50 trials, so .

A success is getting a head, and we are interested in *at least* 30 heads. Therefore, and .

The probability of a success is 50%, or 0.50, and, thus, .

Therefore, the probability of a failure is , or 0.50. From this, you know that .

Again, you will obviously be using technology to solve this problem, as it would take us a long time to calculate all of the individual probabilities. The binomcdf function can be used as follows:

Notice that when you use the phrase *at least*, you used the numbers 50, 0.5, 29. In other words, you would type in 1 binomcdf . Since , at least would be anything greater than 29. Therefore, the probability of having *at least* 30 heads from 50 tosses of a fair coin is 10.1%.

### Review

- It is determined that because of a particular genetic trend in a family, the probability of having a boy is 60%. Janet and David decide to have 4 children. What is the probability that Janet and David will have at least 2 boys?
- For question 1, what is the probability that Janet and David will have at most 2 boys?
- Suppose the probability of rain for each of the next 4 days is 40%. What is the probability that it rains on 2 or more of the days?
- If a coin is flipped 35 times, what is the probability of getting 15 or fewer heads?
- What is the probability of getting at least 28 tails when flipping a coin 40 times?
- Suppose the probability of getting selected for jury duty in any particular year is 9%. What is the probability of getting selected for jury duty in at most 2 of the next 5 years?
- If you randomly choose a card from a deck of cards 24 times and return the card to the deck each time, what is the probability of getting fewer than 7 clubs?
- Brady is playing bingo, and he calculated the probability of winning any particular game to be 4%. If Brady plays 13 games of bingo, what is the probability that he wins at least twice?
- The probability of getting an even number when rolling a fair die is 50%. If a fair die is rolled 200 times, what is the probability of getting more than 106 even numbers?
- The probability of getting stopped by a red light at a particular intersection is 16%. If you randomly pass through the intersection 22 times, what is the probability that you get stopped by a red light 3 or fewer times?

### Review (Answers)

To view the Review answers, open this PDF file and look for section 4.4.