Re: Logic Quiz
@mahool did that on my behalf i.e., marking you as a dumb person.
Okay so here is the explanation. First thing is that we need to figure out how to find that culprit. Given that we can use the scale only once and can take only one reading, we need to come up with a technique that no matter how we take the reading, we somehow know “which bag has the lighter coins”.
Now once you know that you have to find the “which” bag. you should starting thinking about the objects i.e., how can you index those bags in a way that each bag represent its weight ?
Now lets bring some math in and take some help from magical # 9. The beauty of this number is that the number of times you add it, it will give you 2 things
- Sum of the number of times you have added
- Difference from the next “decimal” place
So lets add 2 times.
9 + 9 = 18 (it is 2 places away from closest decimal i.e., 20)
lets add 9 6 times
9 + 9 + 9 + 9 + 9 + 9 = 54 (its 6 places away from next decimal point i.e., 60)
So using 9, you can index those bags. i.e., label all those bags as 1, 2, 3, 4, 5, 6, 7, 8, 9, 10. For the sake of explanation lets say i have only 3 bags. so label would be 1, 2, 3
Now, pick number of coins which correspond to the bag number. (assume bag 2 has 9g coins)
So from
bag 1, I will pick 1 coin = 1 x 10 = 10
bag 2, I will pick 2 coins = 2 x 9 = 18
bag 3, I will pick 3 coin = 3 x 10 = 30
sum it up = 58
But total should have been 60 ? which means it lacks 2 grams which means that the coins which are picked from bag 2 are the ones which has bad coins.
Now you can apply this same logic to all bags.
p.s: why did i chose number 9 ? because the coins weigh 9 and that was the biggest hint. had those weight 8 or something else things would have been difficult.