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

  What is the maximum distance away that the navigation lights

What is the maximum distance away that the navigation lights can still be seen by an observer standing at the shoreline The observer's eye height is 5'6" and the uppermost navigation light is 168 above the water.

  Explain what happens to the turbine work

Explain what happens to the following quantities when a Rankine cycle is modified to include a reheat

  A water treatment plant uses a dual media filter

A water treatment plant uses a dual media filter. The two media used are: a) Anthracite coal with effective diameter of 1.1 mm, porosity of 0.6, and shape factor of 0.5. b) Sand with effective diameter of 0.5 mm, porosity of 0.45, and shape factor of..

  Magnitude of the maximum compressive bending stress

Find the magnitude of the maximum compressive bending stress and also the magnitude of the maximum tensile bending stress

  What is the totasl annual sinkingfund and interest cost

Airport plans to build a newparallel taxiway on the north side of the airport beween runways.the purpose of building the taxiway is to reduce runway incursionsand make the airport safer. the total future cost of planning,design, and construction is e..

  Estimate the concentration and the mass emission rate

Estimate the concentration and the mass emission rate of NOx if a coal containing 1.5% nitrogen is combusted at 1400 k using an air/fuel ratio that is 1.5 times the stoichiometric ratio

  Compute the horizontal distance

The slope distance between two points is 72.665 m, and the difference in elevation between the points is 1.120 m. Compute the horizontal distance.

  Ten kilograms of saturated liquid calculate the work done

Ten kilograms of saturated liquid water at 5 bar is heated in a piston-cylinder assembly at constant pressure until temperature reaches 400 degrees C.

  Determine the distance the ball is from the origin 4s

A 7 lb particle at rest is subjected to the action of its weight and forces F1= (2i+6j-2tk)lb, F2=(t^2i -4tj-1k) lb, and F3 =(-2ti) lb, where t is in seconds. the particle starts at the origin (0,0,0)

  How to determine free-flow travel time on the route

Route 1 has a free flow travel time of 4 mintutes and travel time increases by 3 minutes and for each additonal 1000 vehicle in flow, and route 2 has a free flow travel time of "b" minutes and travel time increases

  Determine the maximum allowable compressive force

(a) Determine the desired diameter of the disk. (b) If the rubber strain is not to exceed 0.2 in/in, determine the maximum allowable compressive force. Recall that the spring constant, k=Fx,or in terms of an axially loaded member

  What is the true settling velocity for such a particle

An old occupational hygiene rule of thumb is that a 10 micrometer (micron) silica particle settles at a rare of 1 ft/min (0.5 cm/s). What is the true settling velocity for such a particle? The density of silica is 2600 kg/cubic meter (2.6 g/cubic ..

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