Question

(12pts) The mathematics main office has backup keys to the offices in Kiely Hall. One day...

(12pts) The mathematics main office has backup keys to the offices in Kiely Hall. One day Dr. Unlucky locked himself out of his office. So he borrowed the keys from the main office. Unfortunately, these keys have no room number on them and thus he has to try one by one. Suppose there are n keys and only one key will open Dr. Unlucky’s office. (a) (6pts) If he tries the keys at random and discards those that do not work, what is the probability that he will open the door on his k-th (k = 1, 2, ..., n) try? (b) (6pts) What if he does not discard previously tried keys?

Homework Answers

Answer #1

a) If he discard previously tried keys

Prob(Opening the door at kth key) =

(here x will start from 0 and will go till (k-1).

The first term is calculating the probability of k-1 keys to be wrong, and then the second term is calculating the probability of kth key to be right. So multiplying both we calculate the overall probability of opening the door at kth key.

b) If he doesn't discard previously used keys

Prob(Opening the door at kth key) = ((n-1)/n)k-1*(1/n)

The first term here too is calculating the probability of k-1 keys to be wrong, and then the second term is calculating the probability of kth key to be right. So multiplying both we calculate the overall probability of opening the door at kth key.

Please upvote if this helps.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
The mathematics main office has backup keys to the offices in Kiely Hall. One day Dr....
The mathematics main office has backup keys to the offices in Kiely Hall. One day Dr. Unlucky locked himself out of his office. So he borrowed the keys from the main office. Unfortunately, these keys have no room number on them and thus he has to try one by one. Suppose there are n keys and only one key will open Dr. Unlucky’s office. (a) If he tries the keys at random and discards those that do not work, what...
Suppose Bob has n keys, of which one will open his office door. a) Suppose Bob...
Suppose Bob has n keys, of which one will open his office door. a) Suppose Bob tries the keys at random, discarding those that do not work, what is the probability that he will open the door on his kth try? b) What is the probability that he will open the door if he does not discard previously tried keys?
a). A man has n keys on a key ring, one of which opens the door...
a). A man has n keys on a key ring, one of which opens the door to his apartment. Having celebrated a bit too much one evening, he returns home only to find himself unable to distinguish one key from another. Resourceful, he works out a fiendishly clever plan: He will choose a key at random and try it. If it fails to open the door, he will discard it and choose at random one of the remaining n−1 keys,...
A mathematics major returns to his apartment one night after heavy drinking and very desperately needs...
A mathematics major returns to his apartment one night after heavy drinking and very desperately needs to get inside. Since his vision is blurry, he cannot determine which of the 15 keys that he has will unlock his door. He tries to unlock his door with one key after another, each chosen at random from the bunch at hand. Keys that are found unsuitable are not removed from the bunch and may be chosen and tried again. Suppose that, due...
What tools could AA leaders have used to increase their awareness of internal and external issues?...
What tools could AA leaders have used to increase their awareness of internal and external issues? ???ALASKA AIRLINES: NAVIGATING CHANGE In the autumn of 2007, Alaska Airlines executives adjourned at the end of a long and stressful day in the midst of a multi-day strategic planning session. Most headed outside to relax, unwind and enjoy a bonfire on the shore of Semiahmoo Spit, outside the meeting venue in Blaine, a seaport town in northwest Washington state. Meanwhile, several members of...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT