# Help with 2 simple probability probs

1. Sep 14, 2004

### Juntao

help with 2 "simple" probability probs

Ok, I'm having a hard time with probability.

First problem.
A restaurant offers a choice of 4 appetizers, 14 entrees, 6 desserts, and 5 beverages. How many different meals are possible if a diner intends to order only three courses? (consider the beverage to be a course)

Maybe I'm making this problem harder than it is. I want to do 4*14*6*5 = answer, but that would only be for a 4 course meal, not a three course meal...right?

Second problem

Residents of a condominium have an automatic garage opener that has a row of 8 buttons. Each garage door has been programmed to respond to a particular set of buttons being pushed. If the condominium has 250 families, can residents be assured that no two garage doors will open on the same signal? If so, how many additional families can be aded before the 8-button code becomes inadequate? *Note* The order in which the buttons are pushed is irrelevant.

I was thinking maybe the answer would be like 250^8, but that doesn't seem right to me. Since the order doesnt matter, 8 buttons such as 12345678 would be same thing as 87654321.

So I was thinking maybe answer was 8! ?

2. Sep 14, 2004

### Tide

First problem: You need to consider all the ways it is possible to get 3 courses.

Second problem: A button will either be depressed or it will not. That gives two choices for each of 8 buttons. Also note that the case with no buttons pressed should be excluded.

3. Sep 18, 2004

### jxiemail

1st problem:
4*14*6 + 14*6*5 + 4*14*5

2nd problem:
2^8=256

4. Sep 18, 2004

### jxiemail

Actually, Tile was right, 00000000 should be excluded, so it should be
256-1=255

Simply consider it's an 8-digit binary number.

5. Sep 18, 2004

### recon

It's almost midnight where I'm from and I am feeling very sleepy. I can't think straight but this doesn't look right. The way I see it there are 4 ways of choosing 3 beverages from 4 beverages. So the answer is = 4*14*6*5*4.

6. Sep 18, 2004

### TenaliRaman

n(ABC+ABD+ACD+BCD)
= n(ABC)+n(ABD)+n(ACD)+n(BCD)
=n(A)*n(B)*n(C)+n(A)*n(B)*n(D)+n(A)*n(C)*n(D)+n(B)*n(C)*n(D)

-- AI

7. Sep 18, 2004

### recon

That looks like a handful. Not entirely elegant, is it? But it is good to memorise this just in case you are not able to solve it logically in an exam.

8. Sep 18, 2004

### TenaliRaman

No need to memorize .... it comes directly from a theorem called as the addition theorem ...... its more important to understand what i did in my first step rather what i have done in the following steps .... cuz they are derived from the theorem itself ...

-- AI
P.S -> I put the answers in the hope that it will encourage the enquiring mind as to what and how those steps came ...... instead of simply rote learning them .....