Answer:
see below
Step-by-step explanation:
see attached for my workings, step-by-step and the trig identities I used.
Answer:
14
Step-by-step explanation:
Answer: We know that an "exponential growth" is that where a function start growing slowly and after start increasing more quickly.
a "logarithmic growth" is the opposite of this, at first you will see a quick increase, that after some time gets slower.
But in this case we are searching for decays: The decays are the opposite of the growths, an "logarithmic decay" starts slow and gets faster latter, and an "exponential decay" decreases very quickly at first, and latter more slowly.
Then, the model for the temperature of the hot tea over the time is a "exponential decay", this is a function of the form T(x) = T₀
, where T₀ is the initial temperature, t is the time, and k is a constant number.
The expected length of code for one encoded symbol is

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

so that we expect a contribution of

bits to the code per encoded letter. For a string of length
, we would then expect
.
By definition of variance, we have
![\mathrm{Var}[L]=E\left[(L-E[L])^2\right]=E[L^2]-E[L]^2](https://tex.z-dn.net/?f=%5Cmathrm%7BVar%7D%5BL%5D%3DE%5Cleft%5B%28L-E%5BL%5D%29%5E2%5Cright%5D%3DE%5BL%5E2%5D-E%5BL%5D%5E2)
For a string consisting of one letter, we have

so that the variance for the length such a string is

"squared" bits per encoded letter. For a string of length
, we would get
.