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]
2 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]2 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
See question in attached photo.<br>Answer question 4b and 5c​
sdas [7]

9514 1404 393

Answer:

  4b: 8.6 m/s²; 1.3×10^5 N; 2.1×10^4 N decrease

  5c: -1.6×10^12 J; -1.6×10^12 J

Step-by-step explanation:

<h3>4b</h3>

i) The acceleration due to gravity is inversely proportional to the square of the distance between the objects. The distance to the shuttle is ...

  1 + (5×10^5)/(6.4×10^5) = 69/64 . . . times the radius of the earth

Then the acceleration due to gravity at the height of the space shuttle is about ...

  (10 m/s²)(64/69)² ≈ 8.6 m/s²

__

ii) The weight of the space shuttle at that height is about ...

  F = ma = (15000 kg)(8.6 m/s²) ≈ 1.3×10^5 N

__

iii) The loss of weight will be ...

  ΔF = m(a1 -a0) = (15000 kg)(10 m/s² -8.6 m/s²)

  = 1.5×10^4×1.4 N = 2.1×10^4 N

____

<h3>5c</h3>

i) The gravitational potential energy is given by ...

  U = -GMm/r

where M and m are the mass of the earth and the rocket, respectively.

  U = -(6.67×10^-11)(6.0×10^24)(2.5×10^4)/(6.4×10^6) ≈ -1.6×10^12 J

__

ii) At a height of 3×10^4 m, the denominator in the above expression changes from 6.4×10^6 to 6.43×10^6. This changes the gravitational potential energy by a factor of 6.4/6.43 to -1.6×10^12 J

(Note: we're carrying only 2 significant figures in the result in accordance with the rules for precision in such calculations. The change is noticeable at the level of the 4th significant figure, less than 1/2%.)

4 0
2 years ago
Find the slope of the line that passes through (3, 6) and (8, 7)
Mnenie [13.5K]

Answer:

The slope of this line is <u>1/5</u>

Step-by-step explanation:

You can find the answer easily by graphing the problem. In doing so, you will find the slope (rise over run) to be one over five. This is because you rise one unit, and run five.

8 0
2 years ago
Given the sequence -3, 9, -27, 81, -243, ..., find the recursive formula.
Tanzania [10]

Answer:

a_{n} = - 3a_{n-1}

Step-by-step explanation:

There is a common ratio between consecutive terms of the sequence, that is

r = 9 ÷ - 3 = - 27 ÷ 9 = 81 ÷ - 27 = - 243 ÷ 81 = - 3

The recursive formula is of the form

a_{n} = ra_{n-1} = - 3a_{n-1}

5 0
3 years ago
Find the quotient.<br>8.24 = 1.7=​
WITCHER [35]

Answer:

4.847

Step-by-step explanation:

divide 8.24 by 1.7

8.24 /1.7 = 4.847

6 0
3 years ago
Read 2 more answers
What is the angle of rotation of the image?<br>A. 60°<br>B. 90°<br>C.120°<br>D. 180°<br>​
lisov135 [29]

Answer:

It would be great if you would provide the image itself. I will totally answer your question.

4 0
3 years ago
Other questions:
  • Y is directly related to X, and Y is 81 when X is 27. The constant of variation is a0.
    5·1 answer
  • What is the gcf of h4 and h8
    10·2 answers
  • Graph the inequality
    14·1 answer
  • What is an equation of the line that is parallel to the one shown and passes through (6, −5)?
    15·1 answer
  • Convert 17π/8 to degrees.
    15·1 answer
  • The sum of two numbers is 12 and the quotient of those numbers is -4.
    5·1 answer
  • A rectangular wall in Andrew's house has the dimensions shown. If
    6·1 answer
  • Solve the formula <br> 2x − 3y = 18 for y.
    7·2 answers
  • Help algebra 2 please
    7·2 answers
  • What is the equation of g(x)?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!