Asked by Seany
A password is 5 letters long. What is the probability of getting it correct?
Answers
Answered by
anthony
wow.wel cases like these we are going to use a permutation formula which is:nPr=n!/(n-r)! nw 26P5=26/(26-5)! were n=26 and r=5 xo nw we ave 26P5=26!/21!
26*25*24*23*22*21*20*19*18*17*16*15*14*13*12*11*10*9*8*7*6*5*4*3*2*1/21*20*19*18*17*16*15*14*13*12*11*10*9*8*7*6*5*4*3*2*1=328900.xo the probability of getting it correct=328900
26*25*24*23*22*21*20*19*18*17*16*15*14*13*12*11*10*9*8*7*6*5*4*3*2*1/21*20*19*18*17*16*15*14*13*12*11*10*9*8*7*6*5*4*3*2*1=328900.xo the probability of getting it correct=328900
Answered by
Reiny
Is the password case sensitive ?
It usually is, so
number of ways to arrange 5 letters
= 52^5 also assuming that letters can be repeated
only one of these is correct
prob(getting it right) = 1/52^5
= 1/380204032
It usually is, so
number of ways to arrange 5 letters
= 52^5 also assuming that letters can be repeated
only one of these is correct
prob(getting it right) = 1/52^5
= 1/380204032
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.