Assume the our coins be namely 1, 2, 3 and 4.
We can group the coins in two different ways, [(12, 34)] or [(1, 2) and (3, 4)]. Let us consider the combination (12, 34),
Note: 12 it means that for first weighing the coins 1 and 2 are placed together, similarly for 34 coins 3 and 4 are placed together.
Corresponding decision tree is given below:
Weighing 1:
The outcome can be (12) < (34) i.e. we go on to left subtree or (12) > (34) i.e. we go on to right subtree.
The left subtree is possible in two ways,
A) Either 1 or 2 can be lighter (represented as L in tree) OR
B) Either 3 or 4 can be heavier (represented as H in tree).
Weighing 2:
Further on the left subtree, as second trial, we weigh (1, 2) or (3, 4). Let us consider (3, 4) as the analogy for (1, 2) is similar. The outcome of second trail can be three ways
A) (3) < (4) yielding 4 as defective heavier coin, OR
B) (3) > (4) yielding 3 as defective heavier coin OR
C) (3) = (4), yielding ambiguity. Here we need one more weighing to check a genuine coin against 1 or 2.
Weighing 3:
In tree we took (3, 2) where 3 is confirmed as genuine. We can get (3) > (2) in which 2 is lighter, or (3) = (2) in which 1 is lighter. Note that it impossible to get (3) < (2), it contradicts our assumption leaned to left side.
Similarly we can analyze the right subtree. We need two more weighings on right subtree as well.
Hence we need 3 weighings to find the counterfeit coin. Note that middle branch terminated after first weighing as the coins weight was equal which was contrary to questions as it says we definetly have one counterfeit coins and hence marked as impossible outcome. We got 11 leaves(boxed in decision tree) including impossible cases.
Answers:(a) 8 leaves (excluding impossible cases)
(b) 3
(c) Refer above explanation for algorithim and figure for decision tree.
Given N coins, if only one coin is counterfeit(which may be lighter or heavier). We need a decision tree with atleast (2N) leaves correspond to the outputs.
Do 17.。 identify the counterfeit colll alu a. What is the number of final outcomes (the...
a) In a collection of 900 coins, one is counterfeit and weighs either more or less than the genuine coins. Find a good lower bound on the number of balance scale weighings needed to identify the fake coin and determine whether it is too heavy or too light. Assume the balance scale has three states: tilted left, tilted right, or balanced. b)In a collection of 10 coins, 2 coins are counterfeit and weigh less than the genuine coins. Find a...
In a collection of 400 coins, one is counterfeit and weighs either more or less than the genuine coins. Find a good lower bound on the number of balance scale weighings needed to identify the fake coin and determine whether it is too heavy or too light. Assume the balance scale has three states: tilted left, tilted right, or balanced. At least _____ weighings are needed?
For each problems segment given below, do the following: Create an algorithm to solve the problem Identify the factors that would influence the running time, and which can be known before the algorithm or code is executed. Assign names (such as n) to each factor. Identify the operations that must be counted. You need not count every statement separately. If a group of statements always executes together, treat the group as a single unit. If a method is called, and...
Please help writing a well structured document using the below Agile Runbook - Our Overall Delivery Process How do we initiate a Project? Any project is a response to a pain point or desire expressed by either customers, internal stakeholders, employees, or regulatory authorities. In short, a project is a time bound and specific goal oriented task-system that is born out of an ask from any stakeholder. Project initiation is laying down a new project by defining its goals, objectives,...
What happened on United flight 3411?What service expectations
do customers have of airlines such as United and How did these
expectations develop over time?
Thank You!
In early April 2017, United Airlines (United), one of the largest airlines in the world, found itself yet again in the middle of a service disaster this time for forcibly dragging a passenger off an overbooked flight. The incident was to become a wake-up call for United, forcing it to ask itself what to...
Can you answer only question 5and 6 Questions: 1. How could the promotion of UK Hoover have been better designed? Be as specific as you can. 2. Given the fiasco that did occur, how do you think Maytag should have responded? 3. Comment on the following statement: “Firing the three top executives of UK Hoover is unconscionable. It smacks of a vendetta against European managers by an American parent. After all, their only ‘crime’ was a promotion that was too...
10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated sludge operation that adversely affect effluent quality with origins in the engineering, hydraulic and microbiological components of the process. The real "heart" of the activated sludge system is the development and maintenance of a mixed microbial culture (activated sludge) that treats wastewater and which can be managed. One definition of a wastewater treatment plant operator is a "bug farmer", one who controls the aeration...
First, read the article on "The Delphi Method for Graduate Research." ------ Article is posted below Include each of the following in your answer (if applicable – explain in a paragraph) Research problem: what do you want to solve using Delphi? Sample: who will participate and why? (answer in 5 -10 sentences) Round one questionnaire: include 5 hypothetical questions you would like to ask Discuss: what are possible outcomes of the findings from your study? Hint: this is the conclusion....
Write down your analysis of this case on factors like the interests involved, context and power PACIFIC OIL COMPANY (A)* "Look, you asked for my advice, and I gave it to you," Frank Kelsey said. "If I were you, I wouldn't make any more concessions! I really don't think you ought to agree to their last demand! But you're the one who has to live with the contract, not me!" Static on the transatlantic telephone connection obscured Jean Fontaine's reply....
Write down your analysis of this case on factors like 1. the negotiation process, strategy and tactics PACIFIC OIL COMPANY (A)* "Look, you asked for my advice, and I gave it to you," Frank Kelsey said. "If I were you, I wouldn't make any more concessions! I really don't think you ought to agree to their last demand! But you're the one who has to live with the contract, not me!" Static on the transatlantic telephone connection obscured Jean Fontaine's...