|
Permutations and Combinations
Patrick McAtee, Tom Rice, and Jesse Whidden |
---|---|
|
Source code: PermComb.java
a) How many ways are there to choose four members of the club to serve on an executive committee?
b) How many ways are there to choose a president, vice president, treasurer and secretary of the club?
a) 21435
b) 41352
c) 43152
d) 34521
e) 54321
f) 51432
a) 4
b) 5
c) 7
d) 9
b) In contrast, a permutation is needed here because the order of selection matters. In this situation, a permutation should be used, in this case, P(25, 4) = 303,600.