1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Yuliya22 [10]
3 years ago
9

A space probe is controlled by 7 different instructions from the ground. the probabilities of sending these instructions vary -

the three most common instructions have probabilities 1/2, 1/4, and 1/8 of being sent, respectively. the remaining four instructions are equally likely to be sent. in expectation, what is the minimum number of whole number bits required to communicate with the probe?
Mathematics
2 answers:
Sveta_85 [38]3 years ago
7 0
<span>2 This problem involves entropy and Shannon information density. Let's look at the base 2 logarithm of the probability of each command. For convience, I'll call the commands a,b,c,d,e,f,g with the most frequent commands having earlier letters in the sequence. So the commands, their probability, and the base 2 logarithms are: a: 0.5, -1 b: 0.25, -2 c: 0.125, -3 d: 0.03125, -5 e: 0.03125, -5 f: 0.03125, -5 g: 0.03125, -5 Now let's negate each of the base 2 logarithms, so we have the values 1,2,3,5,5,5,5. Those numbers represent the number of bits of information that each command represents. We expect command "a" half the time, so a single bit is all we need. Command "b" takes 2 bits, and so on for the remaining 5 commands. So the expected number of bits to be sent is simply the probability of each command multiplied by the number of bits to represent that command. Therefore: 0.5 * 1 + 0.25 * 2 + 0.125 * 3 + 0.03125 * 5 + 0.03125 * 5 + 0.03125 * 5 + 0.03125 * 5 = 0.5 + 0.5 + 0.375 + 0.15625 + 0.15625 + 0.15625 + 0.15625 = 2 Now let's demonstrate such an encoding. I'll use Huffman encoding for this example, but I'm not going to demonstrate how to derive the actual encoding since this is beyond the scope of this problem. For the command "a", I'll use the single bit "0". a: 0 So if the probe see the single bit "0", it knows that command "a" is being sent. And if it see the value "1", it knows that more bits are being sent for another command. So for the command "b", I'll use the sequence "10". So the command table looks like: a: 0 b: 10 And going further, the entire command table can look like: a: 0 b: 10 c: 110 d: 11100 e: 11101 f: 11110 g: 11111 Notice that none of the shorter bit sequences is a prefix for any of the longer sequences. This allows the shorter sequences to be recognized the moment that they've been sent. Additionally, the above table isn't the only possible encoding scheme.</span>
valentina_108 [34]3 years ago
4 0
The space probe needs to be able to differentiate 7 different type of command. 
The possible way that can be code by n bits would be 2^n. Then, the number of bits for coding at least 7 different commands would be:

2^n > 7
2^n > 2^2.80
n > 2.80
n=3

You need at least 3 bits
You might be interested in
Create your own unit rate example in which you have to determine the unit rate of two fractions with different units. Explain wh
levacccp [35]
I’m sorry but i don’t know what it is
7 0
2 years ago
Solve the system of equations y=x-4, y=-3x
abruzzese [7]
Y=x-4
x=y+4
y=-3(y+4)
y=-3y-12
4y=-12
y=-3
x=1
5 0
3 years ago
4. What's the area of the above figure, which has sides of length 6 and 8?
ANTONII [103]

Answer:

48

Step-by-step explanation:

To get the area of anything you multiply the width by the length.

6×8=48

4 0
3 years ago
Ervin sells vintage cars. Every three months
Ira Lisetskai [31]
This doesn't make sense ask another
6 0
3 years ago
Read 2 more answers
15 points!!!! Find the value of x.<br> 102<br> 54<br> 6x<br> O A. 8<br> B. 6<br> O C. 17<br> D. 9
BaLLatris [955]

Answer:

a

Step-by-step explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • The difference of 9 times a number and 2 is 67. Which equation below can be used to find the unknown number?
    8·1 answer
  • Which theorem could kari use to show the measure of angle qml is supplementary to the measure of angle snk? (1 point)?
    10·1 answer
  • If AABCAFED, which of the following statements is correct?
    10·1 answer
  • I need a proper answer please, thanks so much.
    11·1 answer
  • 50x1= what is the answer?​
    6·2 answers
  • Brainlist
    11·1 answer
  • Simplify 7 to the 6 power multpied by 7 to the 5th power
    15·2 answers
  • PLEASE ANSWER BOTH QUESTIONS
    9·1 answer
  • Please help me find the length
    5·1 answer
  • V121 + V49 + 4 = 1<br> Answer?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!