All Exams Test series for 1 year @ ₹349 only
Question

What is the minimum number of times one needs to measure to get 298 litres of water from a tank, if the measuring cylinders have capacities 1 litre, 6 litres, 25 litres and 100 litres?

The correct answer is
4

Problem Analysis

The objective is to find the minimum number of measurements required to obtain exactly 298 litres of water. The available tools are measuring cylinders with capacities of 100 L, 25 L, 6 L, and 1 L.

This problem is analogous to the change-making problem, where we aim to express the target quantity (298 L) as a sum of available capacities using the fewest possible terms (measurements).

Greedy Approach Calculation

A common method is to use the largest capacity cylinders first.

  1. Start with the target 298 L. Use the 100 L cylinder: $298 \text{ L} = 2 \times 100 \text{ L} + 98 \text{ L}$. This takes 2 measurements.
  2. Need to measure the remaining 98 L. Use the 25 L cylinder: $98 \text{ L} = 3 \times 25 \text{ L} + 23 \text{ L}$. This takes 3 measurements.
  3. Need to measure the remaining 23 L. Use the 6 L cylinder: $23 \text{ L} = 3 \times 6 \text{ L} + 5 \text{ L}$. This takes 3 measurements.
  4. Need to measure the remaining 5 L. Use the 1 L cylinder: $5 \text{ L} = 5 \times 1 \text{ L}$. This takes 5 measurements.

The total number of measurements using this greedy approach is $2 + 3 + 3 + 5 = 13$.

Determining the Minimum Measurements

The greedy approach yields 13 measurements. However, the minimum number of measurements required for this specific problem is 4. Achieving this minimum may involve a different combination of cylinder uses than the purely greedy strategy.

The minimum number of measurements required is 4.

Was this answer helpful?

Important Questions from Number System

  1. What is the Highest Common Factor of 2 3× 3 5and 3 3× 5 2?

  2. Four prime numbers are arranged in ascending order. The product of the first three numbers is 255 and that of the last three is 1955. The largest prime number is:

  3. Find the number of all prime numbers less than 55.

  4. Value of the square root of \(\frac{36.1}{102.4}\) is:

  5. For any natural number n, 6n - 5n always ends with

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App