Find a lower bound on the number of comparisons

Assignment Help Mathematics
Reference no: EM131636696

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.

Devise an algorithm to solve the problem of Exercise using three comparisons in the worst case.

Exercise: One of four 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. Prove that no algorithm exists that can meet this lower bound.

Reference no: EM131636696

Questions Cloud

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.
Describe the point of view expressed about minor parties : Identify and explain how two rules of the U.S. electoral system act as obstacles to minor-party candidates winning elections.
Write an essay about immigration and health disparities : Write an essay about immigration and health disparities. We are focusing on the Discussion of the extent of this disparity in other countries.

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