answer.
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]
2 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]2 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]2 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
A certain shampoo is available in two sizes. A 13.5 ounces bottle cost $2.98. A 29.2 ounce bottle cost $6.12. Find the Unit pric
Sladkaya [172]

Answer:

9.2 ounce bottle cost $6.12 is better buy with unit price of $0.22

Step-by-step explanation:

Unit price of any product is given by

unit price = weight of product/ price of product

Given sizes

A

13.5 ounces bottle cost $2.98

cost of 1 ounce of shampoo for this size = cost price/weight of shampoo

 cost of 1 ounce of shampoo for this size =2.98/13.5 = $0.22

Unit price for this size is $.022

B

9.2 ounce bottle cost $6.12

cost of 1 ounce of shampoo for this size = cost price/weight of shampoo

 cost of 1 ounce of shampoo for this size =6.12/9.2 = 0.66

Unit price for this size is $0.66

As $0.22 is less than $0.66 thus,

9.2 ounce bottle cost $6.12 is better buy.

6 0
2 years ago
You are a mechanic who is measuring the valve clearance on a motorcycle engine. The current clearance for one of the valves is 0
iren2701 [21]

Answer:

.

Step-by-step explanation:

5 0
1 year ago
Choose yes or no to tell whether each term is equivalent to the slope in a proportional relationship.
Anna007 [38]

Answer:

A. Constant of proportionality : Yes

B. Origin : No.

C. Inverse : No.

D. Rise per run : Yes

E. Unit rate : Yes.

Step-by-step explanation:

We have to choose yes or no to tell whether each item in the given options is equivalent to the slope in a proportional relationship.

A. Constant of proportionality: Yes

B. Origin: No.

C. Inverse: No.

D. Rise per run: Yes

E. Unit rate: Yes.  

The constant of proportionality, the rise per run and the unit rate are equivalent to slope in a proportional relationship. (Answer)

5 0
2 years ago
What is a fraction equation that equals 1
Svetach [21]

Any fraction in which the numerator's value is the same as the denominator's value will equal 1. For example:

7/7, 6/6, 500/500, etc.

<em>~Rise Above the Ordinary</em>

8 0
2 years ago
Read 2 more answers
There are 50 students in a class and the professor chooses 15 students at random. what is the probability that you or your frien
Alenkasestr [34]
Try this option (see the attachment). Make design according own requirements.
Note, that the description and details are under green line.

Answer: 0.030921

3 0
2 years ago
Read 2 more answers
Other questions:
  • The following system of equations is _____.
    9·1 answer
  • A class contributed $8.40 in dimes and quarters to the Red Cross. In all, there were 45 coins. How many coins of each kind were
    13·1 answer
  • At a golf ball factory, 60 golf balls were inspected and 48 of them passed inspection. Out of 2,500 golf balls made at the facto
    6·2 answers
  • central park in new york city is rectangular in shape and measures approximately 1.37 •10 4 feet by 2.64 •10 2 feet if one acre
    12·1 answer
  • Determine whether two parallel lines that go along the sideline of a field and the center bar of the top-goal post of the soccer
    12·2 answers
  • Karen wants to buy a $22.50 jacket that is marked 20% off. Select from the drop-down menu to correctly complete the sentence. Th
    10·1 answer
  • How much greater than n-11 is n+3
    7·2 answers
  • If an arrow is shot upward on Mars with a speed of 68 m/s, its height in meters t seconds later is given by
    13·1 answer
  • Possible values for the area A of the rectangle shown are 12 ≤ A ≤ 36. Write and solve a compound inequality to find the possibl
    9·1 answer
  • A soccer team is saving money to buy new uniforms. The total cost for the uniforms is $88.74. There are 9 players on the team, a
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!