"A thousand monkeys, typing on a thousand typewriters will eventually type the entire works of William Shakespeare" is a statement often heard in one form or another. Suppose that one monkey presses 10 keys at random. What is the probability that he types the HAMLET if he is a) allowed to repeat letters and b) not allowed to repeat letters?
if 10 keys are pressed at random,
In the English language, there are a total of 26 alphabets.
HAMLET has to appear as one string hence there are five places
to place the H.
That leaves four other places to place any other letter ( any of
the 26 alphabets) . Thus
There is a total of words possible.
the probability that he types the HAMLET if he is allowed to repeat letters =
the probability that he types the HAMLET if he is not allowed to repeat letters =
Get Answers For Free
Most questions answered within 1 hours.