Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Combination Probability

  1. Oct 3, 2007 #1
    Here is the problem:


    You have a sandwich shop. You can choose one of 6 different breads, 1 of four different cheeses, one of four different meats, and you can choose up to 12 garnishes, out of 0 to 12 garnishes.


    Here is my solution so far.

    In part A I calculated the amount of possible sandwiches without garnishes to be 96.


    6*4^2 = 96


    In part B i must calculated the following:

    One bread, one meat, one cheese, and from 0 to 12 garnishes? (Remember there are 12 different choices for the garnish but you cannot choose the same garnish twice, so for each one of those 12 there are different possibilities.)

    My first idea is to use the combination formula

    nCr = n!/( r! (n-r)!)

    I hesitate because I am confused of how to use it in respect to "from 0 to 12 garnishes." with there also being 12 garnish choices.

    Thank you very much for clearing up some confusion.
     
  2. jcsd
  3. Oct 3, 2007 #2
    Solved. Thanks for the help anyway. :) 2^12
     
  4. Oct 3, 2007 #3

    Hurkyl

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    You could use combinations. The number of ways to pick garnishes is

    [tex]\sum_{r = 0}^{12} \binom{12}{r}[/tex]

    which simplifies to

    [tex]\sum_{r = 0}^{12} \binom{12}{r}
    = \sum_{r = 0}^{12} \binom{12}{r} (1)^r (1)^{12 - r}
    = (1 + 1)^{12}
    = 2^{12}
    [/tex]
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Combination Probability
  1. Combinations - (Replies: 3)

  2. # of combinations (Replies: 6)

  3. Probability, The AND (Replies: 19)

Loading...