A pizza shop has available toppings of bacon, pepperoni, sausage, olives, peppers, anchovies, onions and mushrooms. How many different ways can a pizza be made with 2 toppings?

Respuesta :

Answer:

28

Step-by-step explanation:

To answer this problem, we simply need to know the combinatorics equation for combinations.  This formula is as follows:

n choose r = C(n,r) = n! / ( r! ( n - r )! )

Using this formula, we will plug in 2 ( 2 toppings ) for r, and 8 ( available toppings ) for n.

8 choose 2 = C(8,2) = 8! / ( 2! ( 8-2)! )

= 8 * 7 * 6 * 5 * 4 * 3 * 2 * 1 / ( 2 * 1 (6)! )

= 40320 / ( 2 * 6 * 5 * 4 * 3 * 2 * 1 )

= 40320 / 1440

= 28

Hence, we have found that there are 28 different ways a pizza can be made with 2 toppings.

Cheers.