1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
lesya692 [45]
3 years ago
6

Numeric passwords of length r consist of n digits from {0,1,2,…,9}. Digits may be not repeated (e.g., 1178 is a not a permissibl

e password of length 4). Find the smallest value of r such that the number of possible passwords of length r is greater than 2,000,000.
Mathematics
1 answer:
In-s [12.5K]3 years ago
8 0

Answer:

The smallest value of r such that there are more than 2,000,000 possible passwords is r=9.

Step-by-step explanation:

Given : Numeric passwords of length r consist of n digits from {0,1,2,…,9}. Digits may be not repeated (e.g., 1178 is a not a permissible password of length 4).

To Find : The smallest value of r such that the number of possible passwords of length r is greater than 2,000,000.

Solution :

Numeric passwords of length r consist of n digits from {0,1,2,…,9}

i.e. There are 10 possible digits : 0,1,2,3,4,5,6,7,8,9.

So, The first digit have 10 ways,

Second digit have 9 ways different from previous digit.

Third digit have 8 ways different from previous digit.

Similarly, r th digit have n-r+1 ways.

Applying fundamental counting principle,

If the first event occur in m ways and second event occur in n ways the the number of ways two events occur in sequence is m\cdot n

10\cdot 9\cdot 8\cdot ....\cdot (n-r+1) is the required ways.

But The smallest value of r such that the number of possible passwords of length r is greater than 2,000,000.

i.e. 10\cdot 9\cdot 8\cdot ....\cdot (n-r+1)\geq 2000000

The increasing value of r will obtain more than 2,000,000 possible passwords were,

If r=1

Number of passwords = 10

If r=2

Number of passwords = 10\cdot 9=90

If r=3

Number of passwords = 10\cdot 9\cdot8=720

If r=4

Number of passwords = 10\cdot 9\cdot8\cdot 7=5040

If r=5

Number of passwords = 10\cdot 9\cdot8\cdot 7\cdot 6=30240

If r=6

Number of passwords = 10\cdot 9\cdot8\cdot 7\cdot 6\cdot 5=151200

If r=7

Number of passwords = 10\cdot 9\cdot8\cdot 7\cdot 6\cdot 5\cdot 4=604800

If r=8

Number of passwords = 10\cdot 9\cdot8\cdot 7\cdot 6\cdot 5\cdot 4\cdot 3=1814400

If r=9

Number of passwords = 10\cdot 9\cdot8\cdot 7\cdot 6\cdot 5\cdot 4\cdot 3\cdot 2=3628800

For r = 9 the password length exceeds.

Therefore, The smallest value of r such that there are more than 2,000,000 possible passwords is r=9.

You might be interested in
Gavin needs 7/8 gallons of paint to finish painting his deck. He has 0.06 gallon of paint. Does he have enough. Why or why not?
Leona [35]
Noooo,,,hw havent enough…
0.06 or 6/100 so is less than 7/8
5 0
2 years ago
Read 2 more answers
You are playing a board game with your little sister. Moves are determined by rolling 2 six-sided dice. The red die tells you th
enot [183]

Answer: The probability is 1/9.

Step-by-step explanation:

First, let's define the possible outcomes of each dice:

Red: Forward (4 times), Backward (2 times)

Green : {1, 1, 2, 2, 3, 4}

We want to find the probability of moving backward 2 spaces.

Then we need to find the probability of rolling a "backward" in the red dice, and a 2 in the green dice.

First, the probability of rolling a backward in the red dice is equal to the quotient between the number of outcomes that are "backward", and the total number of outcomes in the dice (there are 2 backwards and 6 outcomes in total), this is:

p1 = 2/6 = 1/3.

And the probability of rolling a 2 in the green dice is equal to the quotient between the number of outcomes with a 2, and the total number of outcomes. (The 2 appears two times, and there are 6 possible outcomes):

p2 = 2/6 = 1/3.

Now, the probability of both events happening at the same time is equal to the product of the individual probabilities, then the probability of moving backwards 2 spaces is:

P = p1*p2 = (1/3)*(1/3) = 1/9.

7 0
3 years ago
At the start of the month, Jodie had sold 885 copies of her new book. At the end of the month, she had sold 1,364 copies of her
ozzi

Approximately $ 31419 profit is earned from selling books in entire month

<em><u>Solution:</u></em>

Given that Jodie had sold 885 copies of her new book

At the end of the month, she had sold 1,364 copies of her book

We have to determine the profit earned in the entire month

From given information,

Start of month sale = 885 copies

End of month sale = 1364 copies

Total copies of books sold = Start of month sold + end of month sold

Total copies of books sold = 885 + 1364 = 2249

Also given that each book profit is $ 13.97

Profit of 1 book = $ 13.97

<em><u>Therefore for 2249 books, profit earned is given as:</u></em>

Profit of 2249 books = $ 13.97 x 2249 = 31418.53

Therefore approximately $ 31419 profit is earned from selling books in entire month

5 0
3 years ago
Any1 know the answers for this?
Bezzdna [24]
X=4 because you combine 2+4 and subtract -6 then divide
7 0
3 years ago
Water tank A has a capacity of 550 gallons and is 66% full. Water tank B is 53% full. The ratio of the capacity of T. How much w
Anna71 [15]

Tank A capacity = 550 gallons       66% x 550 gallons = 363 gallons in Tank A

How about the water in tank B?

ratio of  11: 15      11/15 = 550/x          550 * 15/11 = cap B = 750 gal       53% 0f 750 = .53 x 750 = 397.5 gal in tank B

4 0
3 years ago
Other questions:
  • the sum of the reversed number and the original number is 154. Find the original number, if the ones digit in it is 2 less than
    14·1 answer
  • List 3 values that would make this inequality true. 65&lt;15x
    13·2 answers
  • Which of the following representations are functions?
    12·1 answer
  • Francisco wrote the number 3 × 10² in
    15·2 answers
  • PLEASE HELP!! ILL GIVE BRAINLIEST
    13·2 answers
  • A bullet fired from a gun has a muzzle velocity of 3510 km per hour how long dies it take to travel 100m
    8·1 answer
  • G−16=8 what does g stand for
    5·2 answers
  • The top one is the last one I need help plz
    11·1 answer
  • ASAP Plssssssss heeeeelpop
    15·1 answer
  • The probability of event A is 0. 48, the probability of event A and B is 0. 21, and the probability of events A or B is 0. 89. W
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!