Suppose there are three containers of different sizes - Container I (3L), Container II (5L), and Container III (8L). Container III is already filled with 8L of water while the other two containers are empty. The task is to distribute the water equally into Container II and Container III, i.e., 4L in each container. In this article, we will discuss how to solve this problem step by step.
When there is no loss of water while transferring it from one container to another container, the only way to complete the task is to transfer water repeatedly from one container to another until we get the desired result. Let's discuss the solution step by step:
Step 1: Fill Container III with 8L of water.
Step 2: Pour water from Container III to Container I. Now, Container III has 5L of water, and Container I is full.
Step 3: Pour water from Container I to Container II. Now, Container II has 3L of water, and Container I is empty.
Step 4: Pour water from Container III to Container I. Now, Container III has 2L of water, and Container I is full.
Step 5: Pour water from Container I to Container II. Now, Container II has 4L of water, and Container I has 1L of water.
Step 6: Pour water from Container II to Container III. Now, Container III has 7L of water, and Container II is empty.
Step 7: Pour water from Container I to Container II. Now, Container II has 1L of water, and Container I is empty.
Step 8: Pour water from Container III to Container I. Now, Container III has 4L of water, and Container I has 3L of water.
Step 9: Pour water from Container I to Container II. Now, both Container II and Container III have 4L of water.
The above solution can be summarized in the table given below:
|
Explore Courses for Interview Preparation exam
|