There are three containers of milk with Capacity \(8 L\), \(5L\) and \(3L\) as shown above. Lets name them : \[\color{green}{A \rightarrow \text{Container with 8 L capacity} \\ B \rightarrow \text{Container wit 5 L capacity} \\ C \rightarrow \text{Container with 3 L capacity}}\]
Initial Situation : The container \(A\) is having \(8L\) of milk, and the containers \(B\) and \(C\) are empty.
Final Situation to be reached : Container\(A\) and container \(B\) are having \(4L\) of milk each and container \(C\) is empty.
Conditions : (How to reach the Final Situation)
You have to transfer the milk from one container to the other(s) to achieve the Final Situation.
You can only use the given containers i.e. Container \(A\), container \(B\) and container \(C\) for the purpose of measuring and transferring.
Obviously, you aren't supposed to use the approximations of the milk and the containers. So, the measure must be exact.
You're supposed to be perfect in the job of measuring and transferring milk (:P). So you don't let even a single drop of milk wasted in the whole process while transferring the milk from one container to the other(s).
What steps you will take to reach the Final Situation ?
Please post your solution step by step.
enjoy
\[\Large \text{Thanks !}\]
Comments
Sort by:
Top NewestHere A----->B means, pouring milk from container A to container B.
– Rudresh Tomar · 1 year, 12 months agoLog in to reply
– Antonio Israde · 1 year, 10 months ago
It's milkLog in to reply
– Rudresh Tomar · 1 year, 10 months ago
my apologies!Log in to reply
– Sandeep Bhardwaj · 1 year, 12 months ago
Explained very clearly. The image solution adds colors to your solution. Thanks !Log in to reply
– Rudresh Tomar · 1 year, 12 months ago
Thank you, SIR!Log in to reply
First fill up the 3 ltr vessel from the 8 ltr vessel .
Pour all the contents from 3 ltr vessel to the 5 ltr vessel .
Again fill the 3 ltr vessel and pour milk from the 3 ltr vessel again in 5 ltr vessel until the 5 ltr vessel is full.
Now the 5 ltr vessel is full , 3 ltr vessel has 1 ltr of milk, and 8 ltr vessel has 2 ltr .
Now pour all the contents from the 5 ltr vessel into the 8 ltr vessel and then pour the 1 ltr from 3ltr vessel into the 5 ltr vessel.
Now fill the 3 ltr vessel and then empty it into the 5 ltr vessel .
There we go with 4 ltrs in A and in B – Vighnesh Raut · 1 year, 12 months ago
Log in to reply
Btw, Great efforts. Keep it up. and thanks ! – Sandeep Bhardwaj · 1 year, 12 months ago
Log in to reply
At first frm A to C....C has 3L....thn C to B...B has 3L...C nothing..A has 5L...
Thn again A to C...C has 3L..thn C to B...which will contain only 2L of jar C as it has a capacity of 5L....so B is full of 5L..nd C has 1L...A has 2L...
Thn put whole 5L of B into A....so A has 7L ....B has nothing...C has 1L...
Thn put 1L of C into B....and from A put 3L into C....so C has 3L...B has 1L...A has 4L
Now put ol 3L of C into B ...so B has 4L as well as A has 4L too... :) – Sanjoy Pal · 1 year, 12 months ago
Log in to reply
Bonus Question : What is the minimum no. of steps required to reach the Final Situation ?
Transferring milk from one container to the other is counted as 1 step !
– Sandeep Bhardwaj · 1 year, 12 months agoLog in to reply
fill c with a. empty 3L from c into b. fill c with a again. fill b with c leaving 1L in c. empty b back into a. empty 1L left from c into b. fill c again. empty c into b leaving 4L in a and 4L in b. – Nathaniel Haldiman · 1 year, 10 months ago
Log in to reply
Find a measuring cup. – Antonio Israde · 1 year, 10 months ago
Log in to reply
1-we drop from container A to container C....... 2- we drop from container C to B ..... 3- We drop from container A to C once more ...... 4- we drop from C to B and than we will have 4L in container B ...... 5- we drop from C to A and than we will have 4L in A – Princess Nora · 1 year, 11 months ago
Log in to reply
A B C Process 8 0 0 - 3 5 0 A:-B 3 2 3 B:-C 6 2 0 C:-A 6 0 2 B:-C 1 5 2 A:-B 1 4 3 B:-C 4 4 0 C:-A – Kapil Sahu · 1 year, 12 months ago
Log in to reply
Transfer milk from A to B:
|3L| |5L| |__| A B C
Transfer milk from B to C: |3L| |2L| |3L| A B C
Transfer milk from C to A: |6L| |2L| |__| A B C
Transfer milk from B to C: |6L| |_| |2L_| A B C
Transfer milk from A to B: |1L| |5L| |2L| A B C
Transfer milk from B to C: |1L| |4L| |3L| A B C
Transfer milk from C to A: |4L| |4L| |__| A B C
It's a common sense thing that you can transfer milk from a small to a large container only if the small container is full. – Hafsa Saleem · 1 year, 11 months ago
Log in to reply