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
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 .
Answer:
1/6
Step-by-step explanation:
sim[le thought
Answer:
115.60
Step-by-step explanation:
for a tip 85x 0.30=25.50
tax 85x0.06=5.10
total extra money 5.10+25.50=30.60
total money payed 85+30.60=115.60
Hope this helped
Please mark Brainlist
1: given 2: distributive property 3: multiplication property of equality 4: addition property of equality 5: division property of equality