Source: Google Question: I have10 bags with 100 identical coins in each bag. In all bags but one, each coin weighs 1 gram. However, all the coins in the counterfeit bag weigh either 0.9 or 1.1 grams. Can you help me find the counterfeit bag in only one weighing, using a digital scale that tells the exact weight? Solution : We will withdraw 1 coin from the 1 st bag, 2 coins from the 2 nd bag, 3 coins from the 3 rd bag and so on... Now we have Σ 1 + 2 + …+10 = 55 coins If there are no counterfeit coins the sum total of weight should be 55 grams. Let's assume that the x th bag has counterfeit coins Now the weight would come out to be 55 ± x For example : If bag 3 contains counterfeit coins and each of them weigh 1.1 grams Then the sum total of weight = 1 + 2 + 3*1.1 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55.3 So ...
Comments
Post a Comment