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
Bas_tet [7]
3 years ago
5

A source of information randomly generates symbols from a four letter alphabet {w, x, y, z }. The probability of each symbol is

as follows: P(w) = 1 2 ; P(x) = 1 4 ; P(y) = 1 8 ; and P(z) = 1 8 . These symbols are now encoded into binary codes using the scheme shown below. Let the random variable L denote the length of the binary code and pL(l) denote the PMF of L.symbol codew 0x 10y 110z 111Find the expectation and variance of L.
Mathematics
1 answer:
koban [17]3 years ago
5 0

The expected length of code for one encoded symbol is

\displaystyle\sum_{\alpha\in\{w,x,y,z\}}p_\alpha\ell_\alpha

where p_\alpha is the probability of picking the letter \alpha, and \ell_\alpha is the length of code needed to encode \alpha. p_\alpha is given to us, and we have

\begin{cases}\ell_w=1\\\ell_x=2\\\ell_y=\ell_z=3\end{cases}

so that we expect a contribution of

\dfrac12+\dfrac24+\dfrac{2\cdot3}8=\dfrac{11}8=1.375

bits to the code per encoded letter. For a string of length n, we would then expect E[L]=1.375n.

By definition of variance, we have

\mathrm{Var}[L]=E\left[(L-E[L])^2\right]=E[L^2]-E[L]^2

For a string consisting of one letter, we have

\displaystyle\sum_{\alpha\in\{w,x,y,z\}}p_\alpha{\ell_\alpha}^2=\dfrac12+\dfrac{2^2}4+\dfrac{2\cdot3^2}8=\dfrac{15}4

so that the variance for the length such a string is

\dfrac{15}4-\left(\dfrac{11}8\right)^2=\dfrac{119}{64}\approx1.859

"squared" bits per encoded letter. For a string of length n, we would get \mathrm{Var}[L]=1.859n.

You might be interested in
Please help me with this
AleksAgata [21]
Count the number of digits after the first digit. this gives you the exponent on the 10. The first number in scientific form has the decimal point after the first digit.

For mercury there are 7 digits after the 5:-

So the Mercury answer is

5.7909175 * 10^7

Follow this procedure for the other planets

The answer for Venus is

1.08208930 * 10^8
4 0
4 years ago
Kate bought 4 cans of soup for $2.67. How much would it cost for her to buy 10 cans?
gavmur [86]

Answer:

It would be 6.60

Step-by-step explanation:

first you have to find the price of one can, so you divided 2.67 by 4.

the answer would actually be 0.6675, but you have to stop at the tenths place for money, so in this case, it would be 0.66.

we multiply 0.66 by 10 and get 6.6 which is also 6.60

It would cost $6.60 to but 10 cans.

Idk if this helps, but I hope it does.

4 0
3 years ago
Students are given 3 minutes to complete each multiple-choice question on a test and 8 minutes for each free-response question.
Naddika [18.5K]

Answer:

x=16

Step-by-step explanation:

From the Free Response Row,

  • 8(15-m)=x

For the Total Time(in minutes) column

  • 3m+x=55
  • x=55-3m

Since x=55-3m and x=8(15-m)

Therefore:

55-3m =8(15-m)

55-3m=120-8m

Collect like terms

-3m+8m=120-55

5m=65

Divide both sides by 5

m=13

Therefore:

x=55-3m=55-3(13)=55-39

x=16

6 0
3 years ago
Consider a RST, as shown<br> In rest cos r=3/5. What is sin t?
cluponka [151]

Answer:

:?

Step-by-step explanation:

:?

6 0
3 years ago
Find the unit rate???
loris [4]
2500 kilobytes/ 5 minutes= 500 kilobytes per minute

Final answer: 500 kilobytes per minute
4 0
4 years ago
Read 2 more answers
Other questions:
  • The figure is the net for a rectangular prism.
    11·2 answers
  • A circle has its center at (−1, 2) and a radius of 3 units. Find the equation of the circle using the Pythagorean Theorem. PLEAS
    8·2 answers
  • In which place should you write the first digit of the quotient 3381 divided 47 how can you determine that without using divisio
    7·1 answer
  • Find the MAD for this set of data.
    8·2 answers
  • Teesha is in the French club. There are 31 students in the club. The teacher will pick two students at random to guide visiting
    7·2 answers
  • Eight people sharing 7 candy bars how many other faction would they get
    8·2 answers
  • Which percent is equivalent to 7 1/4
    14·1 answer
  • Find the solution for -2.5x +5 &lt; - 2.5 on a number line
    6·1 answer
  • What is the value of −|−20| + |−8| ÷ |−4| − |6|?
    15·1 answer
  • A car stereo is on sale for $250 from its original $273 cost. What is the percentage of the discount?
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!