Question

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 t

help please

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Let X be the number of keys tried until the door opens

For x = 1

P(x) = \frac{1}{n}

For x =2

P(x) = \frac{n-1}{n} \times \frac{1}{n-1} =\frac{1}{n}

For x =3

P(x) = \frac{n-1}{n} \times \frac{n-2}{n-1} \times \frac{1}{n-2}=\frac{1}{n}

So the probability is 1/n for all x

So

E(x) = \sum_{x=1}^{n} x\times P(x)

(1\times \frac{1}{n}) + (2\times \frac{1}{n})+...+(n\times \frac{1}{n})

=\frac{n(n+1)}{2} \times \frac{1}{n} = \frac{n+1}{2}

Answer (B)

​Please give thumbs up if you like the answer.

Add a comment
Know the answer?
Add Answer to:
help please 2. I have n keys, exactly one of which opens the door. I try...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A key chain holds N different keys (N ≥ 2) and only one of them opens the door to your apartment....

    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. A woman has n keys, of which one will open her door. (a) If she...

    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?

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

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

  • Kate has n keys, only one of which will open the cookie jar. (a) If she...

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

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

  • Problem 9.1 A gatekeeper stands in front of a locked door. He has a keychain with...

    Problem 9.1 A gatekeeper stands in front of a locked door. He has a keychain with 12 keys and a single one of them unlocks the door in front of him. (a) First assume that he tries the keys one after the other. Let X be the random variable that describes the number of unsuccessful attempts at unlocking the door in this case. (i) Let X(12) denote all the possible values that X can take. Determine X(22). (ii) What is...

  • I need help fixing my python3 code. I am trying to get my Monty hall game...

    I need help fixing my python3 code. I am trying to get my Monty hall game working correctly. Below is my code. When I run the code it repeats the first question and doesn't work until the 3rd attempt or sometimes more than that. How do I fix this? I also need to be able to make it run 5 times in a row.(like ask the user at least 5 times, so it is re-playable. I added a image of...

  • I. At a certain school, 60% of the students wear neither a ring nor a necklace,...

    I. At a certain school, 60% of the students wear neither a ring nor a necklace, 20% wear a ring, 30% wear a necklace. Compute the probability that a randomly selected student wears (a) a ring or a necklace; (b) a ring and a necklace 2. A school offers three language classes: Spanish (S), French (F), and German (G). There are 100 students total, of which 28 take S. 26 take F, 16 take G, 12 take both S and...

  • Can some one please help me with this problem based on cryptography except let p= 521...

    Can some one please help me with this problem based on cryptography except let p= 521 and a=3 i need help as soon as possibles thanks in advance 8.5. Compute the two public keys and the common key for the DHKE scheme with the parameters p 467, a 2, and 1. a-3,b-5 2. a 400, b 134 3. a-228, b-57 In all cases, perform the computation of the common key for Alice and Bob. This is also a perfect check...

  • Write solutions legibly, and show all work. Walk the reader through your thought process, using English...

    Write solutions legibly, and show all work. Walk the reader through your thought process, using English words when necessary. 1. Recall question 2 of the previous homework – We draw 6 cards from a 52 card deck and let X = the number of heart cards drawn. You already found the pmf back then. You’re allowed to use it here without re-deriving it. a. What is the expected value of X? b. What is the variance of X? What is...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT