Use your algorithm for the set of probabilities

Assignment Help Civil Engineering
Reference no: EM131100412

(a) Consider extending the Huffman procedure to codes with ternary symbols {0,1, 2 }. Think in terms of code words as leaves of ternary trees. Assume an alphabet with M = 4 symbols. Note that you cannot draw a full ternary tree with four leaves. By starting with a tree of three leaves and extending the tree by converting leaves into intermediate nodes, show for what values of M it is possible to have a complete ternary tree.

(b) Explain how to generalize the Huffman procedure to ternary symbols, bearing in mind your result in part (a).

(c) Use your algorithm for the set of probabilities {0.30.20.20.10.10.1}.

Reference no: EM131100412

Questions Cloud

Describe the rules for amending the texas constitution : Describe the rules for amending the Texas constitution. Discuss the attempts at constitutional reform during the 1970's. Explain why constitutional reform was attempted and why it ultimately failed.
What are its volume and surface area : A toy ball has a diameter of 8.1inches. What are its volume and surface area? Round to one decimal place.
Service deliver to erica : At work one day, Erica Franz received 36packages. Speedy Delivery delivered three three times as many as Ralph's Express, while Ralph's Express delivered four more than Send Quick Package Service. How many packages did each service deliver to Erica..
Write a three pages critique of the given case : You will write a 3-page analysis/critique of the following case, Chapter 7 or 8 (whichever wasn't done): Under Decisions, you must point out any major decisions that were made in the article.
Use your algorithm for the set of probabilities : Explain how to generalize the Huffman procedure to ternary symbols, bearing in mind your result in part (a).
Centigram of active ingredient : An insecticide contains 90 centigrams of inert ingredient for every 1 centigram of active ingredient. If a quantity of the insecticide weighs 728 centigrams, how much of each type of ingredient does it contain?
Analysis of the public approval of suicide : Analysis of the public approval of suicide as an option for the terminally ill - Now it is time to share with the class what you have found about your particular topic.
Describe the challenges for managing innovation : Describe the challenges for managing innovation, intrapreneurship, and creativity processes within an organization, and any ethical considerations that need to be taken into account when fostering innovation, intrapreneurship, and creativity.
Generalize the kraft inequality : Generalize the Kraft inequality, (2.1), to the D-ary case and outline why it is still valid.

Reviews

Write a Review

Civil Engineering Questions & Answers

  Find what is the future worth at 15 years of the investment

general price inflation is estimated to be 3% for the next 5 years, 5% the 5 years after that, and 8% the following five years. If you invest $10,000 at the market rate of 10% for those 15 years,

  What is probability that more than people will participate

Suppose 500 people are approched outside of a grocery store to answer some survey questions. If each person decides independently whether or not to participate, and each has a probability of 0.1 of participating

  Calculate the ozone column amount in du

Calculate the ozone column amount in DU, corresponding to the pressure profile and ozone concentrations given above. Recall Avogadro's number, NA = 6.0 × 1023 molecules per mole, from which one can calculate [O3]= ..

  Deterine its angular velocity as a function of the angle the

The uniform bar has a mass m and length l. if it is released from rest when theta = 0 degrees, deterine its angular velocity as a function of the angle theta before it slips

  Compute the disclosure and elevation of a

Reciprocal leveling gives the following readings in feet from a setup near A: on A, 2.071; on B, 8.254, 8.259 and 8.257. At the setup near B: on B, 9.112; on A, 2.926, 2.930 and 2.927.

  List the series of steps involved in converting rural land

List the series of steps involved in converting rural land into development. You may refer to an example of local conditions in your reference jurisdiction or you may use a description of such steps that you find from other sources

  Write equilibrium equations in the x-y and z directions

The traffic light shown in Figure 3 is supported by a system of cables. Points A and B are in a vertical plane which is parallel to x-z plane. Point C is in y-z plane. The traffic light has a mass of 75 kg.

  What is the minimum number of expansion joints required

A BRIDGE BUILT WITH STEEL GIRDERS IN 500mm in length and 50 m inwidth.Expansion joints are provided to compensate for the change inlength in the support girders as the temperature fluctuates

  Determine the equilibrium composition at this state

Is it realistic to assume that no OH will be present in the equilibrium mixture?

  Calculate what is the magnetic declination of true bearing

The true bearing of the line a-b is S 88*50' W, the magnetic bearing of the line d-c is N 89*45' E. What is the magnetic declination

  Is this a good settling sludge or this operator in trouble

A waster water treatment operator runs a sludge volumeindex test in a liter cylinder and finds at the end of 30 minutessettling, the solids occupy 200mL. He knows the suspendedsolids concentration in his aeration tank from which he got thesample is 4..

  Calculate the drawdown at the well

A gravel-packed well with an effective diameter of 36 in is to be constructed in an aquifer with T = 2.6 x l04 gpd/ft and S = 2.3 x 10-5. The design flow of the well is 1000 gpm. Calculate the drawdown at the well

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd