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
How much is 6x7 7+6 please i need help
quester [9]
6x7 = 42

7+6 = 13

I hope this helps!
5 0
3 years ago
What are the factor pairs for 45
riadik2000 [5.3K]
The factored pairs of 45 are:
1 x 45
3 x 15
5 x 9
7 0
3 years ago
Describe how to plot -3 3/4 on a number line?
rodikova [14]
-3 would be before the zero and the point would be on the 3.3 on the line
8 0
3 years ago
Read 2 more answers
A bucket holds 84.5 ounces of water. How much is this in liters?
Nostrana [21]
84.5 ounces = 2.4 litres
5 0
3 years ago
Read 2 more answers
Roots of Quadratics 50 PTS!!!
noname [10]

The values of k for the different quadratic equation solutions are as follows

a  the equation 2x² - x + 3k = 0 has two distinct real roots

  • k < 1/24

b. the equation 5x² - 2x + (2k − 1) = 0 has equal roots

  • k = 3/5

ci the equation -x² + 3x + (k + 1) = 0 has real roots

  • k > -3.25

d the equation 3kx² - 3x + 2 = 0 has no real solutions

  • k < ± 1.633

<h3>How to solve quadratic equations to get different answers</h3>

Quadratic equations of the form ax² + bx + c = 0 is solved using the formula

-b+\frac{\sqrt{b^{2}-4ac } }{2a}     OR     -b-\frac{\sqrt{b^{2}-4ac } }{2a}

The equation b² - 4ac is called the discriminant and it is used as follows

To solve the equation and get two real roots: 2x² - x + 3k = 0

  • b² - 4ac > 0

substituting the values gives

(-1)² - 4 * 2 * 3k > 0

1 - 24k > 0

1 > 24k

divide through by coefficient of k

k < 1/24

To solve the equation and get equal roots: 5x² - 2x + (2k − 1) = 0

  • b² - 4ac = 0

substituting the values gives

(-2)² - 4 * 5 * (2k - 1) = 0

4 - 40k + 20 = 0

-40k = -24

divide through by coefficient of k

k = 3/5

To solve the equation and get real roots  -x² + 3x + (k + 1) = 0

  • b² - 4ac > 0

substituting the values gives  

(3)² - 4 * -1 * (k+1) > 0

9 + 4k + 4> 0

4k > -13

divide through by coefficient of k

k > -3.25

To solve the equation and get  no real solutions  3kx² - 3x + 2 = 0

  • b² - 4ac < 0

substituting the values gives  

(-3)² - 4 * 3k * 2 < 0

9 - 24k² > 0

9 > 24k²

divide through by coefficient of k²

k² < 24/9

k < ± 1.633

Learn more about roots of quadratic equations: brainly.com/question/26926523

#SPJ1

4 0
1 year ago
Read 2 more answers
Other questions:
  • Is there more than 5 ways to slove 4x+3y=3 ?
    7·2 answers
  • Fiona has $18 to spend. She spent $4.25, including tax, to buy a notebook. She needs to save $9.75, but she wants to buy a snack
    6·1 answer
  • How many codons could be formed if each codon was two bases long?
    5·1 answer
  • If a square is 12 cm in length and 2 cm wide, what is the area of the square?
    8·2 answers
  • A triangle has a base of 3 cm greater than five times its height. What is the area of the triangle when its height is 6 cm
    14·1 answer
  • Graph the line that passes through the points (2, 0) and (3, 2) and determine the equation of the line.
    8·1 answer
  • Clare has 80 pencils and 56 erasers to give away. What is the largest number of group that can formed with the same numbers of p
    7·1 answer
  • Help i need to turn this in tomorrow
    13·1 answer
  • You are making meat loaf with yield: 50, 4oz portions what is the total recipe cost
    12·1 answer
  • What is 185% of 38?<br><br> 7.03<br><br> 70.3<br><br> 703<br><br> 7030
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!