Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Advanced fake-coin problem There are n 23 coins identical in appearance; either all are genuine or exactly one of them is fake. It is unknown
Advanced fake-coin problem There are n 23 coins identical in appearance; either all are genuine or exactly one of them is fake. It is unknown whether the fake coin is lighter or heavier than the genuine one. You have a balance scale with which you can compare any two sets of coins. That is, by tipping to the left, to the right, or staying even, the balance scale will tell whether the sets weigh the same or which of the sets is heavier than the other, but not by how much. The problem is to find whether all the coins are genuine and, if not, to find the fake coin and establish whether it is lighter or heavier than the genuine ones. a. Prove that any algorithm for this problem must make at least loga(2n +11 weighings in the worst case. b. Draw a decision tree for an algorithm that solves the problem for n = 3 coins in two weighings. c. Prove that there exists no algorithm that solves the problem for n = 4 coins in two weighings. d. Draw a decision tree for an algorithm that solves the problem for n = 4 coins in two weighings by using an extra coin known to be genuine. e. Draw a decision tree for an algorithm that solves the classic version of the problemthat for n = 12 coins in three weighings (with no extra coins being used)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started