473,385 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Sweet Science....

coolgames
169 100+
You have 2 containers measuring 5 liters and 3 liters with no markings on them. You owe your brother 4 liters of water. And you have 20 liters. How can you repay your brother the 4 liters.

(don't get tricked)
Oct 4 '07 #1
16 1410
coolgames
169 100+
true...
it is one of my finest trivias....
Oct 4 '07 #2
RedSon
5,000 Expert 4TB
You have 2 containers measuring 5 liters and 3 liters with no markings on them. You owe your brother 4 liters of water. And you have 20 liters. How can you repay your brother the 4 liters.

(don't get tricked)
Fill the 5 liter, pour it into the 3 liter, give your brother the remaining 2 liters in the 5 liter jug, do it again. You will have given him 4 liters.
Oct 4 '07 #3
coolgames
169 100+
very nice.. that is exactly correct
it seems that you are a person with a strong sense of math..
Oct 4 '07 #4
jkmyoung
2,057 Expert 2GB
Get the 20 liters.
Take out 5 liters, and dump it
repeat
Take out 3 liters and dump it.
repeat.

You are left with 20 - 5 - 5 - 3 - 3 = 4 liters.
Give these 4 liters to your bro.
Oct 4 '07 #5
kadghar
1,295 Expert 1GB
very nice.. that is exactly correct
it seems that you are a person with a strong sense of math..
You can also give him the 4 litters together, just fill the 5 liiter, pour it into the 3 litter one, then throw the 3 litters away.

Now pour the other 2 litters into the 3 litter one, it'll have space for 1 more litter.

Fill the 5 litter and pour it into the 3 litter till its full, you'll have now 4 litters in the other one.
Oct 4 '07 #6
sitko
140 100+
You can also give him the 4 litters together, just fill the 5 liiter, pour it into the 3 litter one, then throw the 3 litters away.

Now pour the other 2 litters into the 3 litter one, it'll have space for 1 more litter.

Fill the 5 litter and pour it into the 3 litter till its full, you'll have now 4 litters in the other one.
If your willing to throw water away, why not just fill the 5 liter once, and give that to your brother...I'm sure he could find a use for the other liter...
Oct 4 '07 #7
jkmyoung
2,057 Expert 2GB
who knows. why would you and your brother be quibbling over something like water? Maybe if you lived in a desert...
Oct 4 '07 #8
kadghar
1,295 Expert 1GB
If your willing to throw water away, why not just fill the 5 liter once, and give that to your brother...I'm sure he could find a use for the other liter...
you dont have to throw it away, just put it in the original container, the one with 20 lts in the begining.

you can use it to wash your car, you can drink it, you can put a golden fish in it, you can put it into a super soaker and ... well throw it away.
Oct 4 '07 #9
RedSon
5,000 Expert 4TB
you dont have to throw it away, just put it in the original container, the one with 20 lts in the begining.

you can use it to wash your car, you can drink it, you can put a golden fish in it, you can put it into a super soaker and ... well throw it away.
You should probably return it to the place where you got it, like the river or lake, since that is best for the environment.
Oct 4 '07 #10
coolgames
169 100+
wow !! multiple answers
Oct 4 '07 #11
kadghar
1,295 Expert 1GB
You should probably return it to the place where you got it, like the river or lake, since that is best for the environment.
can i return it using the super soaker?? can i?? please???
Oct 4 '07 #12
coolgames
169 100+
can i return it using the super soaker?? can i?? please???
sure..
** winks ** "clever idea dude...
Oct 4 '07 #13
r035198x
13,262 8TB
You have 2 containers measuring 5 liters and 3 liters with no markings on them. You owe your brother 4 liters of water. And you have 20 liters. How can you repay your brother the 4 liters.

(don't get tricked)
Die Hard :With a Vengeance.
Oct 6 '07 #14
1. first fill 5 litres container
pour half of the container to the 3 ltr one
Remaining liquid in the 5 litre=2.5 ltr
2. fill the 3 litres container
pour half of the 3 ltr container to the 5 ltr one ( which already has 2.5 ltrs)
Hence total volume in 5 ltr container = 2.5 +1.5 = 4 ltrs
give it to ur brother
thats it
Oct 7 '07 #15
Shashi Sadasivan
1,435 Expert 1GB
Refuse to give any of it.
Be greedy, keep it to yourself.
be a bully to your brother!

you could really do quite a bit with 20 litres of water....isint it?

Or, ask your brother to do it.
If he does it he gets the 4 litres, otherwise he goes home empty :)
Oct 8 '07 #16
sicarie
4,677 Expert Mod 4TB
1. first fill 5 litres container
pour half of the container to the 3 ltr one
Remaining liquid in the 5 litre=2.5 ltr
2. fill the 3 litres container
pour half of the 3 ltr container to the 5 ltr one ( which already has 2.5 ltrs)
Hence total volume in 5 ltr container = 2.5 +1.5 = 4 ltrs
give it to ur brother
thats it
But that's not exact. How can you be sure you have poured half? What if the container is not even/similar the whole circumphrence and length?
Oct 8 '07 #17

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Mateusz Łoskot | last post by:
Hi, I'd like to ask some scientists or students which GUI toolkit they would recommend to develop scientific prototypes (for education and testing some theories). I think such toolkit should...
0
by: meditation2004-subscribe | last post by:
Learn the Science of Meditation. Online. Sing the Song of the Soul! Yes, you do get beautiful MP3 files with this course, plus wonderful slide shows and numerous other enlightening material -...
5
by: darrel | last post by:
I have a 'cancel' button that should reload the current page. Ie, reset the page back to it's initial state. Is the best way to do this to simply have the event handler for that button redirect...
1
by: Juan R. | last post by:
Introduction I am developing the CanonML language (version 1.0) as a way to generate, store, and publish canonical science documents on the Internet. This language will be the basis for the next...
0
by: Juan R. | last post by:
I have updated some basic requirements for a generic mathematical markup language for scientific requirements at the next link. ...
1
by: Juan R. | last post by:
The initial CanonMath program presented here http://canonicalscience.blogspot.com/2006/02/choosing-notationsyntax-for-canonmath.html] was discussed with several specialists, including father of...
1
by: Michael M. | last post by:
off topic question: Forum for computer science / Informatik-Probleme? Is there a forum for computer science problems? (web or newsgroup etc.) For example, need to solve intersection problems. etc.
2
by: Francesco Pietra | last post by:
It is true that suggestions may arrive from all directions. Nonetheless, this extremely useful list is so crowded that if checking email is not carried out every few hours, it is difficult to...
0
by: AK444 | last post by:
Hi Guys Good news is 23 Electronic and Computer Science video courses are free, No login, No fee. All you need to have is real player installed on your PC. Electronics is at...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.