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
5x +3 <br> ____ = -9 plz help these are impossible!!<br> -2
kiruha [24]

My work is shown up above in the picture.

4 0
3 years ago
Read 2 more answers
In the diagram below, xy and z are tangent to 0. What is the measure of XZ?
VladimirAG [237]

Answer:

360 - 230 = 130°

Step-by-step explanation:

3 0
2 years ago
What is the area of a parallelogram whose vertices are A(−12, 2) , B(6, 2) , C(−2, −3) , and D(−20, −3) ? Enter your answer in t
agasfer [191]

Answer:

  \boxed{90}\,\text{units$^2$}

Step-by-step explanation:

The sides AB and CD are parallel to the x-axis and 5 units apart. The length of side AB is 6-(-12) = 18 units. The area is the product of these dimensions:

  Area = (Base)(Height) = (18 units)(5 units) = 90 units²

4 0
3 years ago
3. Rectangle J is 6 feet wide and 9 feet long.
Furkat [3]

Answer:

No it's not!

Step-by-step explanation:

because the length (long) of J and K are totally different whereas the breadth(width) of J and K is also different which does make similar in sense

8 0
2 years ago
Sam runs 2 miles in 16 minutes. If Sam runs at the same rate, how far can he run in 64 minutes?
Pie

Answer:

8 miles

Step-by-step explanation:

Since

16 x 4 = 64

Therefore

2 x 4 = 8

8 miles

5 0
3 years ago
Other questions:
  • A male elephant weighs 6708 pounds a female weighs 5,823 to the nearest hundred what is the total weigh?
    11·1 answer
  • Given that f(x) = 2x + 1 and g(x) = −5x + 2, solve for f(g(x)) when x = 3.
    11·2 answers
  • Assume that y varies inversely with x. If y = 4 when x = 4, find y = when x = 2.<br><br> y = [?]
    9·1 answer
  • There are 70 sixth graders at Wilson Middle School. Only 40% of the sixth graders will attend the morning assembly. How many six
    8·2 answers
  • 12x 3000 this is for u my bud answer it quickly
    13·2 answers
  • If 2^2x= 8^x-1 what is the value of x?
    10·2 answers
  • Simplify the expression 34 ÷ 39.
    15·2 answers
  • . AB and BC are two sides of a triangle. If the ratio of AB:BC is 3:4, AB = 60 and
    6·2 answers
  • In ΔGHI, m∠G=(10x+9) ∘ , m∠H=(3x+13) ∘ , and m∠I=(x+4) ∘ . What is the value of x ?
    10·2 answers
  • HELP ME POR FAVOR pleaseeee
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!