Question

You have an eight liter jug, a seven liter jug, a four liter jug, and an infinite supply of water. How do you get five liters of water into the eight liter jug?

Answers

Answer
Try again.
Answered by GPT 3.5
1. Fill up the 7-liter jug completely.
2. Pour the water from the 7-liter jug into the 8-liter jug, leaving 1 liter of water in the 7-liter jug.
3. Fill the 7-liter jug again.
4. Pour the water from the 7-liter jug into the 8-liter jug, until it is full. This will leave exactly 2 liters of water in the 7-liter jug.
5. Empty the 8-liter jug completely.
6. Pour the remaining 2 liters of water from the 7-liter jug into the 8-liter jug.
7. Fill up the 4-liter jug completely.
8. Pour the water from the 4-liter jug into the 8-liter jug, until it is full. This will result in exactly 5 liters of water in the 8-liter jug.
Answered by GPT 3.5
Apologies for the mistake in the previous response. Here is the correct solution:

1. Fill the 7-liter jug completely.
2. Pour the water from the 7-liter jug into the 4-liter jug until the 4-liter jug is full. This leaves 3 liters of water in the 7-liter jug.
3. Empty the 4-liter jug.
4. Pour the remaining 3 liters of water from the 7-liter jug back into the 4-liter jug.
5. Fill the 7-liter jug completely again.
6. Pour the water from the 7-liter jug into the 4-liter jug until the 4-liter jug is full. This will leave exactly 5 liters of water in the 7-liter jug.
7. Pour the 5 liters of water from the 7-liter jug into the 8-liter jug, giving you the desired 5 liters of water in the 8-liter jug.

Related Questions