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
Reka Maharis drove her vehicle to and from work last year. Her records show a total of $1,560 for fixed costs and $3,740 for var
amid [387]

Answer: 5,300

Step-by-step explanation:

5 0
3 years ago
25⋅5⋅5⋅4<br><br> A.500<br><br> B.2000<br><br> C.2500<br><br> D.5000
kenny6666 [7]

Answer:

c

Step-by-step explanation:

25 x 5 = 125

125 x 5 = 625

625 x 4 = 2500

So, 25 x 5 x 5 x 4 is 2,500

Vote Brainliest, Thx :)

7 0
3 years ago
Read 2 more answers
The domain of a quadratic function is all real numbers and the range is y s 2. How many x-intercepts does the
mel-nik [20]

Answer:

There are two x-intercepts.

A quadratic function whose maximum degree two. Therefore, Total two x-intercept possible.

We are given the range of quadratic function y less than equal to 2. It means parabola is downward whose maximum value 2.

Here y is greater than 2 and parabola form downward. Here must be two x-intercept.

If a>0 then form open up parabola.

If a<0 then open down parabola.

Here open down parabola. So, we get total two x-intercept.

Please see the attachment for diagram.

5 0
3 years ago
Two parallel lines are crossed by a transversal. Parallel lines u and w are cut by transversal t. At the intersection of lines u
lilavasa [31]

Answer:

I think it's 105.

Step-by-step explanation:

The wording is sort of unclear, but I drew it out and it seems that they are alternate interior angles. Alternate interior angles are congruent! If this is not the right answer, please tell me and I might be able to tell another one.

Well, technically, it has to be either 75 or 105, because all of the special relationships of triangles are either that they are supplementary or they are congruent. So if it's not 105, try 75 :)

4 0
3 years ago
Read 2 more answers
Factor of 15x - 20y
Alla [95]

Answer:

0

Step-by-step explanation: Solving for variable 'x'.

Move all terms containing x to the left, all other terms to the right.

Add '-20y' to each side of the equation.

15x + 20y + -20y = 0 + -20y

Combine like terms: 20y + -20y = 0

15x + 0 = 0 + -20y

15x = 0 + -20y

Remove the zero:

15x = -20y

Divide each side by '15'.

x = -1.333333333y

Simplifying

x = -1.333333333y

3 0
2 years ago
Other questions:
  • Given f(x) = 3x - 1 and g(x)= -x + 6, find f(-2) + g(5).
    9·2 answers
  • The product of x and y is less than or equal to 4
    6·1 answer
  • Need help from 12-15 pls ?
    11·1 answer
  • Solve for z please I am not sure need answer ASAP
    11·1 answer
  • What is 9(m-2) =m+38
    7·1 answer
  • The function g(x) is a transformation of the function f(x) = ? . Which of the following correctly describes g(x)?
    7·1 answer
  • Please help PLEASE WILL GIVE BRAINS
    11·1 answer
  • Luisa is saving money to buy a new laptop computer that costs $460 . She started with $110 and every month she saves $25 . Her s
    6·1 answer
  • These are the cost and revenue functions for a line of trumpets sold at a music store:
    7·1 answer
  • Which is a property of polygons?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!