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
3x ^2 - 9 x y ^2+ 12 X ^3Y^2​
shepuryov [24]

\huge \boxed{\mathfrak{Question} \downarrow}

3 x ^ { 2 } y - 9 x y ^ { 2 } + 12 x ^ { 3 } y ^ { 2 }

\large \boxed{\mathfrak{Answer \: with \: Explanation} \downarrow}

3 x ^ { 2 } y - 9 x y ^ { 2 } + 12 x ^ { 3 } y ^ { 2 }

Factor out 3.

3\left(x^{2}y-3xy^{2}+4x^{3}y^{2}\right)

Consider x^{2}y-3xy^{2}+4x^{3}y^{2}. Factor out xy.

xy\left(x-3y+4x^{2}y\right)

Rewrite the complete factored expression.

\boxed{ \boxed{ \bf \: 3xy\left(x-3y+4x^{2}y\right) }}

4 0
3 years ago
Which graph represents a nonlinear function?​
Genrish500 [490]

Answer:

It's the second one :) I think?

5 0
3 years ago
Read 2 more answers
A parking garage charges $3 for each of the first three hours. After three hours, the charge is $7 an hour. What is the total co
marusya05 [52]
3+3+3+7+7 is 23 so your answer is 23
4 0
3 years ago
Read 2 more answers
Find the roots of each equation by factoring
Korolek [52]

Answer:

x=7 x=-7

Step-by-step explanation:

Solution is attached.

7 0
3 years ago
1/4 plus 1/6 in simplest terms
Tasya [4]

Answer:

\frac{5}{12}

Step-by-step explanation:

\frac{1}{4}+\frac{1}{6}\\\\=\frac{3}{12}+\frac{2}{12}\\\\=\frac{5}{12}

7 0
3 years ago
Read 2 more answers
Other questions:
  • Determine the length (to 1 decimal place) of the arc that subtends an angle of 2.8 radians at the centre of a circle with radius
    5·1 answer
  • The following section is a statement from the rental agreement Tim signed when he rented his car this past weekend. "Upon checko
    14·2 answers
  • the food stand at the zoo sold 2,514 pounds of hamburger last month. how many hamburgers will the food stand sell in 6 months?
    10·2 answers
  • A basketball drops from a hieght of 76 in. On bounce 1, it rebounds to a hieght of 38 in. On bounce 2, it rebounds to a hieght o
    11·2 answers
  • You don't need to explain.
    15·1 answer
  • Mr. Smith drove for 45 minutes at a speed of 40 km/h. He stopped for 15 minutes for a coffee break and then he drove for 2 hours
    9·1 answer
  • Use pemdas (23 + 11) / 2 - 14 write 3 steps
    13·2 answers
  • Need help!!
    7·1 answer
  • Determine whether the relation is a function. (8, 5), (6, "-2)," (4,-9), (2, "-6)," (4,7)
    7·1 answer
  • Rowan opens a savings account with $25 and saves $75 per
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!