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
What is the value of Z?
jasenka [17]

Answer:

2

Step-by-step explanation:

2(z)+2 = 4

2z = 2 x 2 = 4

5 0
3 years ago
W^2-49=0 what are both solutions one is what's the other??
Alborosie
W² - 49 = 0
w² - 7² = - 
(w-7)(w+7)=0
w -7=0 , or w + 7 =0
w=-7, w=7

Answer: -7, 7.
3 0
3 years ago
Why is 4 x 9 equal to 9 x 4?
Grace [21]
They are equal because 9 times 4, is just 4 times 9 backwards.
8 0
3 years ago
Read 2 more answers
A triangle has 2 congruent sides and 1 right angle.What is the triangle? List all that apply.
DIA [1.3K]

Answer:

When a triangle has two congruent sides it is called an isosceles triangle

Step-by-step explanation:

5 0
3 years ago
At a store, toothbrushes cost x dollars and
maksim [4K]

Answer:

Step-by-step explanation:

5 0
3 years ago
Other questions:
  • PLEASE HELP ASAP!!<br> a. 2/9<br> b. 1/3<br> c. 1/9<br> d. 2/81
    6·1 answer
  • The hypotenuse of a 45 45 90 triangle measures 24 inches. what is the length of one leg of the triangle?
    5·2 answers
  • What is 43 in expanded form? A. 3 × 3 × 3 × 3 B. 4 × 4 × 4 C. 12 × 12 × 12 D. 8 × 8
    12·1 answer
  • 6000 and 200 feet greater than less than or equal to 1 mile and 900 feet
    7·1 answer
  • Karen is on a game show. She will choose a box to see if she wins a prize. The odds in favor of Karen winning a prize are 5/7. F
    13·2 answers
  • Help Please ASAP!!! Not sure how to solve this problem. Can someone help me please? Thank you for your help!
    6·2 answers
  • Use GCF to factor <br> 40x+24y-56
    15·2 answers
  • See the picture of the question
    12·2 answers
  • Help pleasee<br>on the image <br>with the steps.​
    14·2 answers
  • (03.04 MC) Two pieces of bread, banana and whole wheat, were left out on a kitchen counter and mold began to grow on them. The a
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!