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
Can someone help with this fast
Ray Of Light [21]

Answer:

12. 37. 13. 48 14. 75. For 15-17 just do the two angles equal to each other. for example (5x-17)=(3x-14) and find x. Same with 7 and 8

I'll show you how to do the first one.

4 0
3 years ago
Read 2 more answers
Answer the following table:)
Volgvan
The answer is 0

Explanation
.......
4 0
3 years ago
Find the slope of the line using the slope formula.<br> (-1 , 3 ) and ( -1, 0)
xenn [34]

Answer:

Three ways to find the slope of a line: You may have two points #(x_1,y_1)# and #(x_2,y_2)# (often one or both of these points may be intercepts of the #x# and/or #y# axes). The slope is given by the equation. #m=(y_2-y_1)/(x_2-x_1)#. You may have a linear equation that is either in the form or can be manipulated into the form. #y = mx + b#.

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
y varies inversely with x. If x is 6.4 when y is 1.5, what is k, the constant of inverse variation? Round your answer to the nea
soldier1979 [14.2K]
If y varies inversely with x, then we know that:

y = k/x

We are given x and y, so plug in the numbers and solve for k.

1.5 = k/6.4

k = 1.5*6.4

k = 9.6
3 0
4 years ago
Susan needs material for her school project. She buys 3.75 yards of material at $5.72 a yard. What is the total cost of the mate
elena55 [62]

Answer: $21.45

Step-by-step explanation:

FACTS:

1 yard costs $5.72.

She bought 3.75 yards

Total cost= cost per yard x number of yards

Total: t

t= 5.72x3.75

t= $21.45

She spent $21.45 for 3.75 yards of material

8 0
2 years ago
Read 2 more answers
Other questions:
  • At a school event, there were 96 girls. The ratio of the number of girls to the number of boys was 4 : 5. After some time, some
    11·1 answer
  • Barry wanted to save at least $700. He opened a savings account with an initial deposit of $150. After his initial deposit, Barr
    10·1 answer
  • PLEASE HELP FAST triangle abc is translated 4 units down and 6 units right, resulting in triangle A’B’C’
    8·1 answer
  • Choose the correct solution and graph for the inequality
    13·2 answers
  • Help me please i need helpppp
    15·1 answer
  • What expression gives
    11·1 answer
  • A box of crackers is 16 cm long, 6 cm wide, and 23 cm tall. <br><br> What is the volume of this box?
    11·2 answers
  • Find the distance between the points (4, 3) and (0, 6).
    14·2 answers
  • The cost of an limited edition figurine starts at $255 and it increases in value by 8% each year. What is the growth or decay ra
    9·1 answer
  • The difference of two numbers is 596 The smaller number is 716 what is the other number?​
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!