Computers and Technology

Advanced fake-coin problem There are n ⥠3 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 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 [log3(2n+1)ceiling weighings in the worst case.
b) Draw a decision tree for an algorithm that solves the problem for n = 3 coisn in two weighings.
c) Prove that there exists no algorithm that solves the problem for n = 4 coins in two weighings.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 14:30, dianathedad
Including a space in the file name causes problems on all operating systems?
Answers: 1
image
Computers and Technology, 22.06.2019 16:20, mandy9386
Consider the following statements, then select one of the answers below: the signal() function shown below registers "sig_handler()" as the signal handler function for the sigkill signal, without the complexity of using when the sigkill signal is sent to a process running this code, by a user typing "kill -kill ", where the correct process id is used for to target the process, sig_handler() will be executed.
Answers: 1
image
Computers and Technology, 23.06.2019 06:40, euniceyi56
How many nibbles can be stored in a 16-bit word?
Answers: 1
image
Computers and Technology, 24.06.2019 07:00, erick7123
Why do we mark tlc plates with pencil and not with pen
Answers: 2
Do you know the correct answer?
Advanced fake-coin problem There are n ⥠3 coins identical in appearance; either all are genuine or...

Questions in other subjects:

Konu
Mathematics, 06.11.2020 03:10