#100
An intelligent shopkeeper needs some weights to measure the goods of 1-1000 kg weight. So, in order to invest a minimum amount of rupees in weights, how many minimum weights he will need ? Also name the weights.
Difficulty Level - 4/5
An intelligent shopkeeper needs some weights to measure the goods of 1-1000 kg weight. So, in order to invest a minimum amount of rupees in weights, how many minimum weights he will need ? Also name the weights.
Update Your Answers : Click Here
Solution :
He will need 10 weights namely 1, 2, 4, 8, 16, 32, 64, 128, 256, 512.
(2^0 to 2^9 because 1000 < 2^10)
Solution :
He will need 10 weights namely 1, 2, 4, 8, 16, 32, 64, 128, 256, 512.
(2^0 to 2^9 because 1000 < 2^10)
0 comments:
Post a Comment