SOLUTION: A security specialist is disigning a code for a security system, The code will use only the letters A, B, C. If the specialist wants the probability of guessing the code at randome

Algebra ->  Probability-and-statistics -> SOLUTION: A security specialist is disigning a code for a security system, The code will use only the letters A, B, C. If the specialist wants the probability of guessing the code at randome      Log On


   



Question 1138065: A security specialist is disigning a code for a security system, The code will use only the letters A, B, C. If the specialist wants the probability of guessing the code at randometo be less than 0.001, how long must the code be?
.
.
.
the answer must be 7 ???

Answer by ikleyn(52778) About Me  (Show Source):
You can put this solution on YOUR website!
.
When you use the words, consisting of three letters A,B and C (uppercase) of the length "n"  (n symbols), 


then the number of all possible codes is 3%5En.


In order for the probability to guess a password randomly be less  than 0.001, you need to have more than 1000 such codes (passwords).


It gives you inequality


    3%5En  > 1000.


Its solution is


     n*log(3) > log(1000) = 3,   or


     n > 3%2Flog%28%283%29%29 = 6.28.


Since n must be integer, it gives you inequality n >= 7 as your ANSWER.

Solved, explained and completed.