A password consists of 4 letters, where each letter can be either a vowel (a, e, i, o, u) or a consonant. The password must have exactly three vowels or exactly three consonants. How many different passwords are possible?
89,456
36,456
28,630
27,440
Case 1: Exactly three vowels:
In this case, we have to choose 3 positions for the vowels and 1 position for the consonant. There are 5 vowels to choose from and 21 consonants to choose from. The number of ways to choose 3 positions out of 4 is given by the combination formula:
The number of ways to choose 3 vowels out of 5 is given by the combination formula:
Therefore, the total number of passwords with exactly three vowels is:
Case 2: Exactly three consonants:
In this case, we have to choose 3 positions for the consonants and 1 position for the vowel. There are 21 consonants to choose from and 5 vowels to choose from.
The number of ways to choose 3 positions out of 4 is given by the combination formula:
The number of ways to choose 3 consonants out of 21 is given by the combination formula:
Therefore, the total number of passwords with exactly three consonants is:
To find the total number of different passwords, we add the possibilities from both cases:
Therefore, there are 27,440 different passwords possible.
Study 40% syllabus and score up to 100% marks in JEE