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
The ratio of boys to girls in Jamal's class is 3:2. If four more girls join the class, there will be the same number of boys and
olchik [2.2K]

Answer:

12 boys

Step-by-step explanation:

From the above question:

Number of boys = 3

Number of girls = 2

Boys: Girls

3:2

Let :

a = boys

b = girls

Hence, a : b = 3 : 2

a/b = 3/2  

Cross Multiply

2a = 3b .......... Equation 1

a = 3b/2

If four more girls join the class, there will be the same number of boys and girls

Hence,

a: b + 4 = 3 : 3

a/b + 4 = 3/3

Cross Multiply

3a = 3(b + 4)

3a = 3b + 12 ........ Equation (2)

From Equation 1: a = 3b/2

Substitute 3b/2 for a in Equation 2 we have:

3a = 3b + 12 .........Equation 2

3(3b/2) = 3b + 12

9b/2 = 3b + 12

Cross Multiply

9b = 2(3b + 12)

9b= 6b + 24

9b - 6b = 24

3b = 24

b = 8

Substitute 8 for b in Equation 1

a = 3b/2

a = 3 × 8/2

a = 24/2

a = 12

Therefore, the number of boys in the class is 12

7 0
3 years ago
For the month of October Lisa plan to go running every fifth day and walk every sixth day. If she begins on October 1, on what d
Tomtit [17]

Answer:

October 30 is the day of the month she will run and walk during the same day.

Step-by-step explanation:

To determine what day of the month will she run and walk during the same day, we will list the days she plans to go running and the days she plans to walk.

From the question,  Lisa plan to go running every fifth day and walk every sixth day, then

If she begins on October 1, the days she will run will be

October 5, October 10, October 15, October 20, October 25, and October 30;

while the days she will walk will be

October 6, October 12, October 18, October 24, and October 30.

Since October 30 occurred among the days she will run and walk, then October 30 is the day of the month she will run and walk during the same day.

4 0
4 years ago
I need help can yall help me​
Marta_Voda [28]

Answer:

Step-by-step explanation:

3 0
3 years ago
Solve the system by substitution <br> 2x-3y=20<br> x=-2y+3
AfilCa [17]

Answer:

Hi! The answer to your question is (7,-2)

Step-by-step explanation:

☆*: .。..。.:*☆☆*: .。..。.:*☆☆*: .。..。.:*☆☆*: .。..。.:*☆

☁Brainliest is greatly appreciated!☁

Hope this helps!!

- Brooklynn Deka

5 0
3 years ago
Find the slope perpendicular to the line 21y=-4x
Alexxx [7]

Answer:

21/4

Step-by-step explanation:

21 y = -4x           Divide 21 on both sides

y = -4/21x            Slope is -4/21

Perpendictulare lines have a slope that are the negative inverses of eachother, so flip the 4 and the 21 and make it positve instead of negative

4 0
3 years ago
Other questions:
  • Your sister is considering two different shapes for her garden. One is a square with side lengths of 3.5 meter, and the other is
    7·1 answer
  • What 18% more than 200
    14·2 answers
  • A mayor estimates that 4,000 people will attend the first day of the county fair. A total of 8,400 people actually attend the fi
    9·1 answer
  • In the diagram, PQR is a straight line. Calculate the value of X and Y. HELPP!!! easy questions* will mark as brainliest!!! I AM
    11·1 answer
  • Find the value for x
    14·1 answer
  • Help help help help help pls
    9·1 answer
  • I hate copy and pastes​
    13·2 answers
  • How much should you invest at 2.6% simple interest in order to earn $75 interest in 8 months?
    8·1 answer
  • How long would it take for your investment to double if it is compounded continuously at 8.5% interest rate?​
    13·1 answer
  • (b)The graph of y = g(x) is shown. Draw the graph of g(2x). Will award 100 Brainly points
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!