Answer:
Explanation:
Problem One
If you are allowing duplicates, there are always a choice of five letters for the password. If you want to use 3 of them, then the answer is 5 * 5 * 5 = 125 possible passwords.
Problem Two
From 7 you must choose 2. You must cut out the duplicates AB is the same as BA
nCr
n = 7
r = 2
nCr = n! / (n - r)! r!
n! / (n - r)! r! = 7! / (7 - 2)! 2!
n! / (n - r)! r! = 7! / 5! 2!
7! / (5! 2!) = 7*6 * 5! / (5! ) 2!
7*6 / 2 = 21
There are 21 ways of choosing 2 plays from 7.