Question

In: Statistics and Probability

A person has to create a code. The code must contain exactly 7 letters. The first...

A person has to create a code. The code must contain exactly 7 letters. The first letter must either a N, P, R, or T. The second letter must be a vowel that is not I, O, or U. The third letter must be a consonant that is not a D, F, H, or J. The fourth letter must be a vowel that is not an O or U. The fifth letter must be a consonant that is not a D or F. The sixth letter must be a consonant. If repetition of letters are not allowed, how many different codes can the person make? (Note: a vowel is A, E, I, O, or U, and consonants are letters that are not vowels

Solutions

Expert Solution

ANSWER::

Since Repetition is not allowed, a letter once fixed in a place cannot come in any other position

There are a Total of 26 alphabets of which 5 are vowels (A, E, I , O and U), and the remaining 21 are consonants.

___________________________________________________

The first letter can be any of the 4 of N, P, R or T (All 4 are consonants).

(So one consonant is removed from the 21.)

Therefore number of ways of choosing a letter for the 1st place = 4

____

The second letter must not be an I, O or U, which means the second place can be A or E. (One Vowel gets removed here).

Therefore number of ways of choosing a letter for the 2nd place = 2

___

The third letter should not be D, F, H or J. All are consonants. We now have 21 - 1 - 4 consonants to choose from for the third place as one of N, P, R or T has been fixed in the first place. (In this place one more consonant gets removed).

Therefore number of ways of choosing a letter for the 3rd place = 16

___

The fourth letter must be a vowel that is not an O or U, that is it must be an A, E or I.

Here 2 different cases arises.

Case (i) The 2nd letter was an A, then the number of ways of choosing the 4th place = 2

Case (ii) The 2nd was not an A, then the number of ways of choosing the 4th place = 3

____

The Fifth Letter should not have D, F, H or J. All are consonants. We now have 21 - 1 - 1 - 2 consonants to choose from for the third place as one of N, P, R or T has been fixed in the first place and one is fixed in the 3rd place . (One more consonant gets removed in this place).

Therefore number of ways of choosing a letter for the 3rd place = 20

___

The Sixth letter has to be a consonant. We now have 21 - 1 - 1 - 1 = 18 consonants available for the sixth place (as 3 consonants have gone into the 1st, 3rd and 5th place)

______

The seventh letter just has to be an alphabet. There are 26 - 6 = 20 alphabets free for the last place

__________________________________

Since the 4th letter is composed of 2 different events, we have

(i) Letters having A in the 4th place = 4 * 2 * 16 * 2 * 20 * 18 * 20 = 1843200

(ii) Letters not having A in the 4th place = 4 * 2 * 16 * 3 * 20 * 18 * 20 = 2764800

Therefor the total number of ways = 1843200 + 2764800 = 4,608,000 codes

(OR) TRY THIS ANSWER

NOTE:: I HOPE THIS ANSWER IS HELPFULL TO YOU......**PLEASE SUPPORT ME WITH YOUR RATING......

**PLEASE GIVE ME "LIKE".....ITS VERY IMPORTANT  FOR,ME......PLEASE SUPPORT ME .......THANK YOU


Related Solutions

A person has to create a code. The code must contain exactly 6 letters. The first...
A person has to create a code. The code must contain exactly 6 letters. The first letter must be a vowel that is not an E or I. The second letter must be either a J, K, or L. The third letter must be a consonant that is not a G or R. The fourth letter must be a vowel that is not an I. The fifth letter must be a consonant. If repetition of letters are not allowed, how...
Find the number of 7 letters words that contain at least one vowel.
Find the number of 7 letters words that contain at least one vowel.
Create an ANOVA and regresion problem, must contain steps and answers.
Create an ANOVA and regresion problem, must contain steps and answers.
The Arizona personal vehicle title typically has 7 characters, the first 3 being letters and the...
The Arizona personal vehicle title typically has 7 characters, the first 3 being letters and the next 4 being digits between 0-9. Assume that letters or digits CANNOT be repeated. a. What is the number of distinct titles that can be created using all letters and digits? b. How many vehicles can have at least an A and a 2 in their title? c. If the order of 3 letters followed by 4 digits is ignored, what are the possible...
CODE IN C++ PLEASE Create a structure (object) named Person that has the following characteristics: •...
CODE IN C++ PLEASE Create a structure (object) named Person that has the following characteristics: • full name • age • family members full names represent by an array of size 10. Write a program that creates an array of Person of size 5. Populate the array of objects with the information given by user input according to the following specifications: • With input from the user i) Populate only 3 positions of the array of Person object. ii) Populate...
I need to create a code in C++ that first has a menu animation of game...
I need to create a code in C++ that first has a menu animation of game Pacman, a score label in the map, and a bar that have the lives of pacman in the map.
How many 10 digit decimal numbers contain: a-) exactly three 7’s ? b-) at most two...
How many 10 digit decimal numbers contain: a-) exactly three 7’s ? b-) at most two 7’s ? c-) at least two 7’s ? please explain when solving problems. thanks
For this assignment, you must follow directions exactly. Create a P5 project in Eclipse then write...
For this assignment, you must follow directions exactly. Create a P5 project in Eclipse then write a class P5 with a main method, and put all of the following code into the main method: Instantiate a single Scanner object to read console input. Declare doubles for the gross salary, interest income, and capital gains. Declare an integer for the number of exemptions. Declare doubles for the total income, adjusted income, federal tax, and state tax. Print the prompt shown below...
Objective: Create a webpage with a simple quiz. Instructions: The webpage must contain at least ten...
Objective: Create a webpage with a simple quiz. Instructions: The webpage must contain at least ten simple questions as a quiz. The user must be able to answer the questions in the input boxes and finally click on a Submit button to get a final score. The questions must be such a way that some answer formats must cover all the following types: A number A string An expression (e.g. 2+3) If the user does not answer a question and...
Using Python in vs code: The distribution of letters in a document has a distinctive and...
Using Python in vs code: The distribution of letters in a document has a distinctive and predictable shape, as shown in the following figure. This distribution could be effective information to break a cipher. Write a program that reads an input file, and outputs the count or frequency of all 26 letters to an output file: count.dat. Case sensitivity is not considered, i.e., ‘a’ is treated as the same as ‘A’. Test file is “independence.txt”. In the output file, you...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT