Answer: a) 792 ways b) 13⁷.
Step-by-step explanation:
Since we have given that
Number of apples to be given = 5
Number of bananas to be given = 7
Number of people = 12
So, Number of ways that each person gets a pieces of fruit is given by
[tex]\dfrac{12!}{7!\times 5!}\\\\=792\ ways[/tex]
b) If the number of people = 13
Number of apples to be given = 7
So, Number of ways would be
[tex]13\times 13\times 13\times 13\times 13\times 13\times 13\\\\=13^7[/tex]
Hence, a) 792 ways b) 13⁷.