230k views
1 vote
Pasta comes with tomato sauce and can be ordered with some, all, or none of these ingredients in the sauce: {onions, garlic, carrots, broccoli, shrimp, mushrooms, zucchini, green pepper}. How many different variations are available for ordering pasta with tomato sauce?

a. 128
b. 255
c. 127
d. 256

User Nadeen
by
6.1k points

1 Answer

2 votes

Answer:

FORMULA USED-

NUMBER OF SUBSETS OF A SET WITH n ELEMENTS= 2^n

Here our set is { onions, garlic, carrots, brocoli, shrimp, mushrooms, zucchini, green pepper}

Different variations available for ordering pasta with tomato sauce= 28 = 256 ( As here n= 8)

User Okcoker
by
6.7k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.