Post Go back to editing

KCC's Quizzes AQQ292 about weighing using 2-plates scale

1. First, the quote of the week: "Some people create their own storms and then get mad when it rains" - Unknown

                                             

 2. New challenge with AQQ292 about using a two-plates scale.

This is a kind proposal from a frequent participant: Herman Neufeld, Analog & Mixed Signals Specialist):

You are asked to design a two-dish scale that weighs amounts of a substance from 1 to 40 grams in integer amounts.

Hence your task is to determine:

  1. What is the minimum number counterweights you need?
  2. What are the weigh values of these counterweights?

These, in order to weigh this substance,

Good luck and try to be among the first ones!

P.S. Please forward such quizzes to friends and colleagues who want also to "relax" their brains...

Please share your answer to view other submitted answers
  • I think you need 6 weights: 1, 2, 3, 5, 10 and 20 grams.

    1 1
    2 2
    3 3
    4 3+1
    5 5
    6 5+1
    7 5+2
    8 5+3
    9 5+3+1
    10 10
    11 10+1
    12 10+2
    13 10+3
    14 10+3+1
    15 10+5
    16 10+5+1
    17 10+5+2
    18 10+5+3
    19 10+5+3+1
    20 20
    21 20+1
    22 20+2
    23 20+3
    24 20+3+1
    25 20+5
    26 20+5+1
    27 20+5+2
    28 20+5+3
    29 20+5+3+1
    30 20+10
    31 20+10+1
    32 20+10+2
    33 20+10+3
    34 20+10+3+1
    35 20+10+5
    36 20+10+5+1
    37 20+10+5+2
    38 20+10+5+3
    39 20+10+5+3+1
    40 20+10+5+3+2
  • In simple binary system we can make any number with combination of 2's powers so it could be 1,2,4,8,16,32 with these combination we can achieve any weight. 
    If we want minimum we can try for 3 as well like 1,3,9,27 or may be 4 also 1,4,16,32 but with 4 we can't make 3 or other so no need to try more
    Then 1,3,9,27 will be the minimum possible numbers to achieve the weight example 26 - (27-1) one with 27 and other with 1 example 40 then will keep all four at one side. 
    Maximum achievable weight with this combination will be 40

  • My guess is you need 6 weights of 1, 2, 4, 8, 16, 32 gr each.  

  • I hope that the weights can also be placed on a dish with a weighed object.
    The weights must have an odd value, so their sum can reach both odd and even numbers. The first two are definitely 1g and 3g. The first higher value above their sum is 5g, so this can be achieved by the combination 9g-3g-1g. And again the first highest unattainable for these 3 weights is the value 1g+3g+9g+1g = 14g, so the next weight value is these 14g and the sum of everything = 27g.

    The question is whether we can create all the combinations now. I don't have to examine even numbers and the same goes for the exact weight values.


    • 5g +3g+1g= 9g
    • 7g +3g = 9g+1g
    • 11g +1g = 9g+3g
    • 13g 9g+3g+1g
    • 15g +3g+9g = 27g
    • 17g +1g+9g = 27g
    • 19g +9g = 27g+1g
    • .
    • .
    • 39g = 27g+9g+3g

      All combinations are available. Thus we need 4 counterweights: 1g, 3g, 9g, 27g
  • Mag Concept: Balanced Ternary System

    In a two-dish scale, you can place counterweights on both sides of the scale. This allows you to simulate subtraction as well as addition. So instead of just summing weights, you can balance them by placing some on the same side as the substance and some on the opposite side.

    Balanced ternary uses digits:

    • −1 (weight on the same side as the substance)
    • 0 (weight not used)
    • +1 (weight on the opposite side)

    This system allows you to represent any integer using powers of 3.


    White check mark Solution

    a. Minimum number of counterweights needed:

    We need to find the smallest set of weights such that any integer from 1 to 40 can be represented using combinations of these weights on either side of the scale.

    Let’s use powers of 3:

    3^0=1,3^1=3,3^2=9,3^3=27,

    Now check the maximum representable value using balanced ternary with weights up to 3^3=27:

    • Maximum value =
      1+3+9+27=401
      (when all weights are placed on the opposite pan)

    So, 4 counterweights are sufficient.

    b. Weight values:

    The counterweights should be:

    • 1g
    • 3g
    • 9g
    • 27g
  • Thanks  for your nice development. But there is a solution with less counterweights! One needs also to rethink the way how items are put on the plates... May be you want to retry?

  • Excellent  , you get it! Congratulations!

  • Thanks  . Your solution will work, but there is a solution with even less elements! May be you can retry?

  • YES, the minimum set is with 4 elements 1, 3, 9 and 27. Congratulations! But why you said even weights cannot be determined? Look, for example X=20 can be obtained by putting X + 9 + 1 in one plate and 3 + 27 in the other plate !

  • Well done  , you solve the quiz! Congratulations!