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

  Questions on ferris wheel

Prepare a Flexible Budget Gator Divers is a company that provides diving services such as underwater ship repairs to clients in the Tampa Bay area.

  Logistic map

This assignment has two question related to maths. Questions are related to bifurcation cascade and logistic map.

  Finding the probability of cards

This assignment has questions related to probabiltiy.

  Systems of ode

Find all the xed points, and study their stability and Draw the phase portrait of the system, as well as the graphs of the solutions in all relevant cases.

  Derive the boolean expression

Derive the Boolean Expression and construct the switching circuit for the truth table stated

  System of equations

Evaluate which equations are under-identified, just-identified, and over-identified.

  Linear programming problem

Linear programming problem consisting of only two constraints with one objective function.

  Find the natural domain

Find the natural domain of the given functions.

  Introduction to numerical methods

Compute the coecients of the polynomials using the term recurrence relation.

  Chart of the topological manifold

De?nition of smoothness of functions on a smooth manifold is chart independent and hence geometric.

  Mathematics in computing

Questions related on mathematics in computing.

  Complex problems

Complex problems

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