document.write( "Question 1020882: 5) Alice is trying to send a message to Bob. Eve is an eavesdropper who randomly corrupts words sent by Alice. Because of Eve, any word sent by Alice reaches Bob correctly with a probability, p, independent of other words. Alice sends messages to Bob such that each message is 2 words long. They also exchange some code language so that if any 1 of the two words sent by Alice is received correctly by Bob, then Bob can understand the message correctly. If a message is not received correctly by Bob, he indicates that to Alice and she re-sends the message. This is continued until Bob receives the message correctly.
\n" ); document.write( "a)What is the probability (in terms of p) that a message sent by Alice is received incorrectly by Bob?
\n" ); document.write( "b)Call your solution of Problem # 5a) as q. What should be the minimum value of q if Alice wants to give Bob a 98% guarantee that she will deliver a message correctly to Bob in 2 attempts or less?
\n" ); document.write( "c) What should be the minimum value of p so that you can achieve the value of q you obtained in Problem # 5b)?
\n" ); document.write( "

Algebra.Com's Answer #636692 by mathmate(429)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Question:
\n" ); document.write( "5) Alice is trying to send a message to Bob. Eve is an eavesdropper who randomly corrupts words sent by Alice. Because of Eve, any word sent by Alice reaches Bob correctly with a probability, p, independent of other words. Alice sends messages to Bob such that each message is 2 words long. They also exchange some code language so that if any 1 of the two words sent by Alice is received correctly by Bob, then Bob can understand the message correctly. If a message is not received correctly by Bob, he indicates that to Alice and she re-sends the message. This is continued until Bob receives the message correctly.
\n" ); document.write( "a)What is the probability (in terms of p) that a message sent by Alice is received incorrectly by Bob?
\n" ); document.write( "b)Call your solution of Problem # 5a) as q. What should be the minimum value of q if Alice wants to give Bob a 98% guarantee that she will deliver a message correctly to Bob in 2 attempts or less?
\n" ); document.write( "c) What should be the minimum value of p so that you can achieve the value of q you obtained in Problem # 5b)?
\n" ); document.write( "
\n" ); document.write( "Solution:
\n" ); document.write( "(a)
\n" ); document.write( "n=2
\n" ); document.write( "probability of correct word = p
\n" ); document.write( "probability of incorrect word = (1-p)
\n" ); document.write( "probability of incorrect (2-word) message, q = \"%281-p%29%5E2\"
\n" ); document.write( "
\n" ); document.write( "(b)
\n" ); document.write( "A guarantee is a guarantee (100%).
\n" ); document.write( "I suppose what is meant is what is the value of q such that 98% of the time, in the long run, a message will be received correctly in 2 attempts or less.
\n" ); document.write( "We need q^2 (both attempts fail) <=2%.
\n" ); document.write( "so q<=sqrt(1-98%)=0.14142 (approximately).
\n" ); document.write( "so maximum value of q so that the message will be received correctly in 2 attempts or less is sqrt(.02)=sqrt(2/100)=sqrt(2)/10.
\n" ); document.write( "
\n" ); document.write( "(c)The minimum value of p is such that
\n" ); document.write( "(1-p)^2<=sqrt(2)/10
\n" ); document.write( "Solve for p:
\n" ); document.write( "1-p<=sqrt(sqrt(2)/10)
\n" ); document.write( "p>=1-sqrt(sqrt(2)/10)
\n" ); document.write( "=1-0.3761
\n" ); document.write( "=0.6239 (approximately)
\n" ); document.write( "
\n" ); document.write( "Check:
\n" ); document.write( "((1-0.6239)^2)=0.02, ok.\r
\n" ); document.write( "\n" ); document.write( "Also,
\n" ); document.write( "in order that you get answers as fast as possible, I suggest you post new questions instead of in the messages. You are welcome to alert me to the question in your message if you so wish.
\n" ); document.write( "
\n" );