Question

In: Statistics and Probability

a code is 4 random letters and 3 random digits. what is the probability of the...

a code is 4 random letters and 3 random digits. what is the probability of the 4 letters all being different while the 3. numbers at the end are in ascending order?

b) in a group of 10 codes.... what is the probability that at least two have all different letters and numbers in ascending order

c) in 1000 codes what is the wxpected value and standard deviation for the codes with all different letters and ascending digits

Solutions

Expert Solution

The code is formed using 4 random letters and 3 random digits.

We know,

The probability of an event = (the number of favorable cases to that event)/(Total number of outcomes)

We have to find the probability of the 4 letters all being different while the 3 numbers at the end are in ascending order.

Here, total number of outcomes = (number of arrangements of 4 letters from 26 alphabets where each alphabet can repeat upto 4 times) x (number of arrengements of 3 digits from 10 digits where each digit can repeat upto 3 times)

= 264 x 103

And the number of favorable cases to the event = (number of arrangements of 4 different letters from 26 alphabets where repetition is not allowed) x (number of arrengements of 3 digits in ascending order out of 10 digits)

Now, for the number of arrengements of 3 digits in ascending order out of 10 digits we consider the following cases:

1st digit 2nd digit number of cases

0 1 ... = 8

0 2 ... = 7

...

0 8 ... = 1

1 2 ... = 7

1 3 ... = 6

...

1 8 ... = 1

....

....

7 8 ... = 1

Therefore, the number of numbers that start with 0 = (8 + 7 + ... + 1) = 36

the number of numbers that start with 1 = (7 + 6 + ... + 1) = 28

the number of numbers that start with 2 = (6 + 5 + ... + 1) = 21

and so on.

Hence, the number of arrengements of 3 digits in ascending order out of 10 digits = 36 + 28 + 21 + 15 + 10 + 6 + 3 + 1 = 120

So, the number of favorable cases to the event = 26P4 x 120

Therefore, the required probability = (26P4 x 120)/264 x 103 = 0.0942

Answer: The probability of the 4 letters all being different while the 3 numbers at the end are in ascending order is 0.0942.

b) Let X = random variable denoting the number codes out of 10 which have all different letters and numbers in ascending order

Since each group is independent of the other and the probability of having all different letters and numbers in ascending order 0.0942 remains same for all groups

X ~ bin(n = 10, p = 0.0942)

The p.m.f. of X is given by,

Then, the probability that at least two have all different letters and numbers in ascending order is

= 1 - (0.3718 + 0.3866)

= 0.2416

Answer: in a group of 10 codes, the probability that at least two have all different letters and numbers in ascending order is 0.2416.

c) For 1000 codes, the Poisson approximation to binomial will be applicable due to the following conditions:

i) Here n = 1000 is very large i.e.

ii) p = 0.0942 is very small i.e.

iii) np = 94.2 is finite

i.e. X ~ Poisson ( = np = 94.2)

For Poisson distribution E(X) = Var (X) = = 94.2

Therefore, s.d.(X) = = 9.71 (rounded to 2 decimal places)

Answer: In 1000 codes, the expected value and standard deviation for the codes with all different letters and ascending digits are 94.2 and 9.71 respectively.


Related Solutions

An alphanumeric code is formed by 2 letters followed by 3 digits. If repetition is allowed...
An alphanumeric code is formed by 2 letters followed by 3 digits. If repetition is allowed for the letters but not the digits, how many different codes can be formed?
An automobile license plate consists of 3 letters followed by 4 digits. How many different plates...
An automobile license plate consists of 3 letters followed by 4 digits. How many different plates can be made: a. If repetitions are allowed? b. If repetitions are not allowed in the letters but are allowed in the digits? c. If repetitions are allowed in the letters but not in the digits?
A swedish license plate consists of three letters followed by three digits. Find the probability that...
A swedish license plate consists of three letters followed by three digits. Find the probability that a randomly selected plate has a) no duplicate letters b) no duplicate digits c) all letters the same d) only odd digits e) no duplicate letters and all digits equal
2)The letters of the word EXCELLENT are arranged in a random order. Find the probability that:...
2)The letters of the word EXCELLENT are arranged in a random order. Find the probability that: a. the same letter occurs at each end. b. X,C, and N occur together, in any order. c. all 9 letters occur in alphabetical order.
1) A set of license plates has four letters followed by 4 digits. (a) In how...
1) A set of license plates has four letters followed by 4 digits. (a) In how many ways can a license plate be made with four letters followed by 4 digits? (Letters or digits may be repeated.) (b) In how many ways can a license plate be made with four different letters followed by 4 different digits? (c) If a license plate is made with four letters followed by 4 digits, what is the probability that it has no repeated...
Find the probability (approximate) in the following cases: a) Of 1000 random digits, 7 does not...
Find the probability (approximate) in the following cases: a) Of 1000 random digits, 7 does not appear more than 968 times b) Rolling 12000 a die, the number of six is ​​between 1900 and 2150. c) In 182 days, the number of units demanded of a certain product exceeds 6370 units (Note: the daily demand of the product has average 30 and standard deviation 6, and the independence of the demand of each day is assumed with respect to the...
In an exactly 8 character long password where capital letters, small letters, and digits (0 to...
In an exactly 8 character long password where capital letters, small letters, and digits (0 to 9) must be used. Regardless of the order, how many passwords will use exactly 5 ones, 4 twos, and one Z?
How do I use ASCII code to generate and display two random letters that are one...
How do I use ASCII code to generate and display two random letters that are one lowercase and one uppercase in C++? Please give me an example.  
If a license plate has four different digits on it, what is the probability that the...
If a license plate has four different digits on it, what is the probability that the numbers on the plate will not be in either consecutive increasing or consecutive decreasing order? Show you work.
What is the probability, p(A|B), where A is the roll of a “3” or a “4”...
What is the probability, p(A|B), where A is the roll of a “3” or a “4” on a fair die and B is the probability of tossing exactly two heads out of 4 tosses with a fair coin? It is assumed the rolls of the die and the tosses of the coins are independent. Provide your answer as a reduced fraction.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT