Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sir Arthur de Templar was paid 27 gold coins for the infor- mation he provided on the last known location of the Holy Grail. Soon,

Sir Arthur de Templar was paid 27 gold coins for the infor- mation he provided on the last known location of the Holy Grail. Soon, from highly trusted sources, he learned that one of the 27 gold coins is fake. It has some mixture of iron and copper and hence its weight differs, meaning it is either lighter or heavier than a real gold coin. Sir Arthur paid a visit to his closest friend drug-maker Mr. Drugless and in a few seconds they identified the fake coin. Legend says that they used just an old weighing device of Mr. Drugless

(depicted in figure below) and could identify the fake coin in only 4 weighings. Recall that the fake coin maybe lighter or heavier (that is unknown) than the true-gold one.

(a) Repeat the procedure used by Sir Arthur de Templar and Mr. Drugless for identifying the fake coin among 27 gold coins in just 4 weighings.

(b) Extend it to an algorithm for identifying a single fake coin among N given gold coins using a minimum number of weighings. How many weighings do you need?

Note that a weighing is an operation of putting k coins on one plate of the device and k other coins on the other plate, where k=1,2,3,..., and checking if the device is in equilibrium, and if not, which plate is heavier/lighter.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions

Question

u = 5 j , v = 6 i Find the angle between the vectors.

Answered: 1 week ago