Perfect measurement

Logic Level 1

There are 2 jars. One jar is containing 5 liter of water and the another jar is containing 3 liter of water.

Can you measure exactly 4 liter water using these two jars of water?

Note: You have only these jars. You cannot use any other things for measuring 4 liter of water.

Yes No

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Roger Erisman
Dec 19, 2018

(0,0) fill 5

(0,5) fill 3 from 5

(3,2) dump 3

(0,2) pour 2 into 3

(2,0) fill 5

(2,5) fill 3 from 5

(3,4) done

Henry U
Dec 19, 2018

( a , b ) (a,b) denotes a a liters in the 3L-jar and b b liters in the 5L-jar.

You have to do the following steps:

\begin{alignat}{2} 1 & \quad& (0,0) & \quad \quad \quad& \text{fill 3L} \\ 2 && (3,0) && \text{3L into 5L} \\ 3 && (0,3) && \text{fill 3L} \\ 4 && (3,3) && \text{3L into 5L} \\ 5 && (1,5) && \text{empty 5L} \\ 6 && (1,0) && \text{3L into 5L} \\ 7&& (0,1) && \text{fill 3L} \\ 8 && (3,1) && \text{3L into 5L} \\ 9 && (0,4) && \text{finished!} \end{alignat}

So, it is possible in 8 steps.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...