Math, asked by shouryavijay910, 7 months ago

A person is having total Rs.1023 with him. He wants to distribute them in minimum number of bags such that he should be able to give any amount from Rs.1 to Rs
1023 just by the combination of bags. Find the minimum value of bags required.​

Answers

Answered by veromicspop
0

Answer:

the person will put  Rs102 per bag

Step-by-step explanation:

Answered by tamra710
0

Answer:

Think of the binary numbers of 8 digits

11 1111 1111 => represents 1023, every number upto 1023 can be represented by a combination of 0’s and 1’s.

for example 5 => 00 0000 0101 => 4 + 1

39 => 00 0010 0111 => 32 + 4 + 2 + 1

so if we put 1,2,4,8,16,32,64,128,256,512 coins in 10 bags, we can always make any number by just taking the bag where it is 1 in the binary representation of that number.

if my answer is correct so plz mark me as a brainlist answer and give me thanks

Similar questions