There are 10 keys and only one of them can open a lock. We do not know which key can open the lock, but we will try them one by one until we find the right key. We record the key(s) which we have already tried.
(a) What’s the probability of finding the right key in the first trial?
(b) What’s the probability of finding the right key in the third trial?
(c) If we know that the first two keys we tried are not the right key, what’s the probability of finding the right key in the next/third trial?
a) P(finding the right key on first trial) = 1/10 = 0.1
b) P(finding the right key on third trial) = P(not finding the right key on first 2 trials and finding the right key on trial 3)
= 9/10 x 8/9 x 1/8
= 0.1
c) P(finding the right key on third trial | first two keys were not right) = 1/(10-2)
= 1/8
= 0.125
There are 10 keys and only one of them can open a lock. We do not...
Kate has n keys, only one of which will open the cookie jar. (a) If she tries the keys at random, discarding those that do not work, what is the (b) Later in the day, her brother Kurtis wants to get a cookie, but he does not probability that she will open the jar on her kth try? discard keys that he has previously tried. What is the probability that he will open the jar on his kth try? (c)...
Kate has n keys, only one of which will open the cookie jar. (a) If she tries the keys at random, discarding those that do not work, what is the probability that she will open the jar on her kth try? (b) Later in the day, her brother Kurtis wants to get a cookie, but he does not discard keys that he has previously tried. What is the probability that he will open the jar on his kth try? (c)...
Suppose that you have a key ring with eight keys on it, one of which is your house key. Further suppose that you get home after dark and can’t see the keys on the key ring. You randomly try one key at a time, being careful not to mix the keys that you’ve already tried with the ones you haven’t. What is the probability that you get the right key a. on the first try? b. on the eighth try?...
A key chain holds N different keys (N ≥ 2) and only one of them opens the door to your apartment. You try the keys on the key chain at random until the door unlocks. Let X be the number of times you tried unlocking the door. What is the probability mass function of X and the mean value of X when: (a) After trying a key you leave it on the key chain. (b) After trying a key you...
3. (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...
3. A woman has n keys, of which one will open her door. (a) If she tries the keys at random, discarding those that do not work,what is the probability that she will open the door on her kth try? (b) What if she does not discard previously tried keys?
help please
2. I have n keys, exactly one of which opens the door. I try them one by one at random independently, removing the key from the fob and setting it aside if it doesn't work. Let X be the number of keys I try until I open the door. Find E(X). A. (n-1)/2 B. (n + 1)/2 C. n/2 D. n + 1/2
In this problem, you will complete several classes involving boxes, locks, keys and secrets. Follow the specifications in the starter files for the classes. You can run the javadoc program to generate the API (see Tutorial 2) for the classes. A box has a secret inside it (and maybe a key!) and can be locked. In order to open a box, you need the right key to unlock the lock. Secrets.java will be a program that takes an array of...
In this problem, you will complete several classes involving boxes, locks, keys and secrets. Follow the specifications in the starter files for the classes. You can run the javadoc program to generate the API (see Tutorial 2) for the classes. A box has a secret inside it (and maybe a key!) and can be locked. In order to open a box, you need the right key to unlock the lock. Secrets.java will be a program that takes an array of...
49. A real estate man has eight master keys to open several new homes. Only key will open any given houșe. If 40% of these homes are the probability that the real estate man can get into a specific home if he selects three master keys at random before leaving the office? one master usually left unlocked, what is