Answer:
847,660,528 combinations for part 1.
Step-by-step explanation:
Hi! So I know this is a little over a year old, but I stumbled on this trying to find the answer for myself, so I figured I'd leave the correct answer here with an explanation, since all the others are bare-bones, at best.
Basically, you have 40 volunteers and 10 slots to fill. For the first slot, any of the 40 participants could be chosen. For the second, however, there has to be <em>someone </em>that got picked for the space prior, so you only have 39 people to choose from and so on, until there are only 31 people left to pick by the time you get to slot #10. the combination formula is read as : =. Here, n=40 because there are 40 options, and r=10, because there are 10 slots. It would be difficult to do all the factorials of 40 (most calculators just refuse, which I found out the hard way), so this is where better understanding of the purpose of the formula becomes handy. 40-10=30, making 30!. This is actually a representation of how many slots there are. As I explained earlier, each space must decrease by one in number of possible options, which is why factorials are used in this situation, but it can't go all the way back to zero. 30! can cancel everything in 40! past 31, so there's only 40-31 left, the actual number of slots required. 10! will calculate, and it's the only thing left in the denominator. This part of the process is necessary because the order doesn't matter in combination equations, so combinations where the only difference is the order cannot be counted. Divide from here, and you should be left with 847,660,528.
For part two, you must use the permutation formula:= . There are four slots and 15 doctors, and the order in which they are arranged after their selection <em>does </em>matter this time. 15-4=11, so . To divide, remove every repeating number, leaving only 15·14·13·12. This should solve out to 32,760.
Please let me know if I missed anything or made any mistakes!