In India, everyday the morning train is overloaded with a lot of milk cans hanged on the windows as you can see above. The five persons named BHEEM, KABIR, TULSI, KAALI, and ZAKIR, who were great planners, planned to steal milk from the bypassing train.So one of them was already in the train. He, then, pulled the chain to stop the train and the other four were already standing at the place of event. The train stopped and all the five ran away by stealing one can each. Finally, they escaped and reached at the safe place. What they found is that they stole cans of each, one can of and one can of . They got disappointed when they found that only the can of each are full of milk, while that of and are totally empty.
So they decided to divide the milk into the five. The two, who brought the empty cans with them, will get smaller amount of milk than the rest three.So persons, who stole cans with milk, will get each, while the two, who stole empty cans, will get together (12 L each). For that, they decided to equally divided the milk into the four cans (three cans of and one can of ).
There are five containers of milk, lets name them :
Initial Situation : The containers are having of milk in each of them, and the containers and are empty.
Final Situation to be reached : Container, container , container and container are having of milk each and container 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 , container , container , container and container 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
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
A generic approach for solving such problems would be to first define a directed graph G(V,E) with V being the set of all 5-tuples (a1,a2,a3,a4,a5),0≤ai≤Ci,ai∈Z+, with Ci being the capacities of the containers (here 32,32,32,24,7 respectively). Then from each vertex v∈V we define at most 2×(25)=20 directed edges, each one pointing to a vertex corresponding to selecting two containers in v and transferring the content from the first to the second until the first one becomes empty or the second one becomes full. The definition of G is now complete. Now the problem becomes finding a shortest path from the initial situation to the final situation (if there is any).
Log in to reply
So can you find the shortest path using graph theory ?
Log in to reply
Yes, e.g., by a Breadth First Search.
Sir I also have a logical problem which is as follows
3 friends went to eat burger in McDonalds.They had a total combined 75rs. The cost of each burger is 25rs but as they were happy hour customer they got a discount of 5rs.So they gave 2rs tip to the waiter and distributed the remaining 3rs among them.Money spent by each of them-(25-1)=24rs. They calculated how much money they had spent which is as follows
Money spent by each person=24rs*3
Tip given=2rs
Total comes out to be 24*3=72+2=74
But they had brought 75rs.So where did 1rs go???
P.S Don't try to find out grammatical mistakes..
Log in to reply
75 Rs =70 Rs ( McDonal expense) + 2 Rs (tip to the waiter) + 3 Rs (back to 3 friends)
You're trying to troll the audience by adding the different quantities.
Log in to reply
How r they different quantities I have just added the total expense by each person and their mutual expense
Log in to reply
⟹ Rs 75 ( total money) = Rs 72 ( Money spent : 70 - McDonald account, 2- tip to the waiter) + Rs 3 (Money left i.e. the money returned to them)
I mean to say different quantities is that you're trying to say : Total money=Money spent by them + Money in account's waiter. But there is no relation of money spent by them and the money in the waiter's account. The tip to the waiter is just a part of their money spent.