Devise an algorithm that meets the lower bound

Assignment Help Mathematics
Reference no: EM131636698

Question: Concern the problem of identifying a counterfeit coin (one that is two heavy or too light) from a set of n coins. A balance scale is used to weigh a group of any number of coins from the set against a like number of coins from the set. The outcome of such a comparison is that group A weighs less than, the same as, or more than group B. A decision tree representing the sequence of comparisons done will thus be a ternary tree, where an internal node can have three children.

One of eight coins is counterfeit and is either too heavy or too light. The problem is to identify the counterfeit coin and determine whether it is heavy or light.

a. What is the number of final outcomes (the number of leaves in the decision tree)?

b. Find a lower bound on the number of comparisons required to solve this problem in the worst case.

c. Devise an algorithm that meets this lower bound (draw its decision tree).

Reference no: EM131636698

Questions Cloud

Work environment affects employee productivity and morale : Since physical work environment affects employee productivity and morale, the employees themselves should have right to decide how their workplace is designed.
Discuss rules of ethical behavior in the organization : How did this ethical culture affect your work performance and morale, Were the written rules of ethical behavior in this organization
How selected agency will hire culturally competent workforce : Recommend at least two strategies for how your selected agency will hire and develop a culturally competent workforce, especially at high levels.
Donald trumps 2016 presidential campaign : How has Donald Trump's 2016 presidential campaign been so successful? What apparently large groups does his support base consist of?
Devise an algorithm that meets the lower bound : Concern the problem of identifying a counterfeit coin (one that is two heavy or too light) from a set of n coins.
About the company stericycle : This is a question about the company "Stericycle" What are their strengths and weaknesses in a changing economic landscape.
Find a lower bound on the number of comparisons : Find a lower bound on the number of comparisons required to solve this problem in the worst case.
Discussing free movement of peoples across the continent : In Africa, various AU members have been discussing free movement of peoples across the continent, however, this is yet to be fully realised.
Correlation measures strength and direction of relationship : Correlation measures the strength and direction of relationship between two variables.

Reviews

Write a Review

Mathematics Questions & Answers

  Find the expected profit for each project

The proprietor of Midland Construction Company has to decide between two projects. He estimates that the first project will yield a profit of $190,000.

  What is the measure of the fourth angle

the measures of three of the angles of a quadrilateral are 67 degrees 112 degrees and 55 degrees. what is the measure of the fourth angle?

  Probability using formula or technologyla

Determine the probability using formula or Technologyla given the number of trials and the success probability for Binomial probability distribution. Let X denote the total number of successes. Round to three decimal places.

  How much time will both take to finish the work

Ram can do a piece of work in 20 days and Shyam alone can do it in 30 days. How much time will both take to finish the work ?

  Does republican candidate have a chance to win use alpha

fifty-five percent of registered voters in a congressional district are registered democrats. the republican candidate

  Find the magnitude of the rate of change of temperature

What is the magnitude of the rate of change of temperature in that direction? In what direction should the bug move from P for the temperature to increase the fastest? (Give your answer as a unit vector.)

  Determine the fundamental frequency and period

Determine the fundamental frequency, fundamental radian frequency, and period of the following: (a) 5 sin 9t: (5) 200 cos 70t, (c) 4 sin (4t- 10°); (or) 4sin (4t + 100).

  Why did chavez decide to nationalize cargill

Why did Chavez decide to nationalize Cargill? Do you think he was justified?If you were the executive of Cargill, what would you do?

  Find the value of the calculator after 5 years

Solve, assuming a linear equation fits the situation The value of a graphing calculator is $225. After 2 years, the value of this calculator is $160. Find the value of the calculator after 5 years.

  How much will you owe at the end of the year

We-Are-There-To-Get-You Loan Company lends you $550 if you agree to pay $750 after 5 days. If you kept the money for a year on the same terms, how much will you owe at the end of the year? Assume the company compounds money on a 5-day basis and a ..

  Find x such that t (x) = (3, 8)

Find x such that T (x) = (3, 8)

  Which of the given might be inferior goods

Which of the following might be inferior goods? Could they be normal goods at some portion of the income scale and inferior goods at others?

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