document.write( "Question 1171775: A pizza parlor has 6 meat options, 8 vegetable options, 3 sauces, and 4 types of cheese.
\n" ); document.write( "Answer the following questions about their menu options (5 points each). If you make
\n" ); document.write( "any assumptions, clearly state what those assumptions are.
\n" ); document.write( "(a) A meats pizza comes mozzarella, the classic sauce, and 4 different types of
\n" ); document.write( "meat. How many different meats pizzas are there?
\n" ); document.write( "(b) The vegan pizza comes with mozzarella, the classic sauce, no meats and any combination of the 8 different vegetables (including the option of having 0 different vegetables). How many different vegetarian pizzas are there?\r
\n" ); document.write( "\n" ); document.write( "(c) The Supremo Pizza comes with your choice of up to 3 meats, up to 4 vegetables,
\n" ); document.write( "one sauce, and up to 2 different cheeses. How many different Supremo pizzas are
\n" ); document.write( "there?
\n" ); document.write( "

Algebra.Com's Answer #796700 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Part (a)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are 6 meats to choose from, but we only can pick 4.
\n" ); document.write( "There are 6*5*4*3 = 30*12 = 360 different permutations and 360/(4!) = 360/(4*3*2*1) = 360/24 = 15 different combinations. Order doesn't matter when we select the meat, so we go with 15 combinations.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There's 1 choice of cheese (mozzarella), 1 choice of sauce (classic) and 15 combinations of meat. We have 1*1*15 = 15 different meat pizzas possible. You can make a tree diagram to represent all the different combos. A table is also another option.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer: 15\r
\n" ); document.write( "\n" ); document.write( "=========================================\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Part (b)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Consider the set {A,B,C,D,E,F,G,H} which consists of n = 8 items. Each uppercase letter represents a different veggie. The empty set represents picking 0 veggies.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here are a few subsets listed out
\n" ); document.write( "{A,B,C} ... selecting 3 veggies
\n" ); document.write( "{E,F} .... selecting 2 veggies
\n" ); document.write( "{G} .... selecting 1 veggie
\n" ); document.write( "There are many more subsets possible. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The list of all possible subsets, aka power set, represents all the possible combinations of selecting 0 veggies, 1 veggie, 2 veggies, etc all the way up to 8 veggies.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The number of possible subsets is 2^n = 2^8 = 256. We can check this by listing out every subset, but that will take a while. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There is 1 choice of cheese (mozzarella), 1 choice of sauce (classic), and 256 choices for the veggie combos we discussed above. This leads to 1*1*256 = 256 different vegan pizzas.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer: 256\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "=========================================\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Part (c)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "For now focus on the meats only.
\n" ); document.write( "We'll use the nCr combination formula here. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The nCr combination formula is
\n" ); document.write( "nCr = (n!)/(r!*(n-r)!)
\n" ); document.write( "where the exclamation marks indicate factorial\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since there are many computations to do, I'll only show the steps for one of them, and let you do the rest (or let you rely on your calculator).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's say we want to pick from a list of 6 meat options and we want to make 3 selections. Order doesn't matter.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We would use n = 6 and r = 3 to get
\n" ); document.write( "nCr = (n!)/(r!*(n-r)!)
\n" ); document.write( "6C3 = (6!)/(3!*(6-3)!)
\n" ); document.write( "6C3 = (6!)/(3!*3!)
\n" ); document.write( "6C3 = (6*5*4*3*2*1)/(3*2*1*3*2*1)
\n" ); document.write( "6C3 = 720/(6*6)
\n" ); document.write( "6C3 = 720/36
\n" ); document.write( "6C3 = 20\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are 20 ways to select exactly 3 meats from a total of 6. Order doesn't matter.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "----------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Use the nCr formula to calculate when r = 2, r = 1 and r = 0. You should get the following:
\n" ); document.write( "6C2 = 15
\n" ); document.write( "6C1 = 6
\n" ); document.write( "6C0 = 1\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You can use Pascal's triangle to find these values. Look in the row that starts with \"1,6,15,20,...\" and you'll highlight the first four values since they correspond to r=0,r=1,r=2,r=3\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "From here we add up the nCr values we found:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "(6C3)+(6C2)+(6C1)+(6C0) = (20)+(15)+(6)+(1) = 42\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are 42 ways to select up to 3 meats from 6 meats to choose from.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "----------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now onto the veggies. Following the same logic, we get\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "(8C4)+(8C3)+(8C2)+(8C1)+(8C0) = (70)+(56)+(28)+(8)+(1) = 163\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are 163 different ways to pick up to 4 veggies from 8 veggies to choose from.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "----------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Luckily there's only one sauce, so we can skip over that. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "For the cheeses, we have,\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "(4C2)+(4C1)+(4C0) = (6)+(4)+(1) = 11\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are 11 different ways to select up to 2 cheeses from 4 total cheeses to choose from.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "----------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There's a lot going on for part (c), so hopefully everything is making sense so far. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "To summarize so far we have
  • 42 ways to select the meats
  • 163 ways to select the veggies
  • 1 way to select the sauce
  • 11 ways to select the cheeses
Multiply out those values:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "42*163*1*11 = 75306\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This represents the number of different Supremo pizzas.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "----------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer: 75306
\n" ); document.write( "
\n" ); document.write( "
\n" );