A password is 5 letters long. What is the probability of getting it correct?

2 answers

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
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