Đong 4 lít nước bằng bình 3 lít và 5 lítMeasure 4 litres with 3- and 5-litre jugs
Bạn có một bình 3 lít và một bình 5 lít, không có vạch chia, cùng một vòi nước không giới hạn. Làm sao đong được chính xác 4 lít nước?
You have a 3-litre jug and a 5-litre jug with no markings, and an unlimited tap. How can you measure exactly 4 litres of water?
💡 Xem gợi ý
Đổ đầy bình 5 lít, rót sang bình 3 lít. Còn lại bao nhiêu?
Fill the 5-litre jug and pour into the 3-litre jug. What is left?
🔓 Xem lời giải
- Đổ đầy bình 5 lít. (5, 0)
- Rót sang bình 3 lít đến khi đầy: còn 2 lít trong bình 5 lít. (2, 3)
- Đổ bỏ bình 3 lít. (2, 0)
- Rót 2 lít sang bình 3 lít. (0, 2)
- Đổ đầy bình 5 lít. (5, 2)
- Rót sang bình 3 lít (chỉ còn chỗ cho 1 lít): bình 5 lít còn đúng 4 lít. (4, 3)
Toán học phía sau: vì ước chung lớn nhất của 3 và 5 là 1, ta đong được mọi số lít nguyên từ 1 đến 8 (định lý Bézout).
- Fill the 5-litre jug. (5, 0)
- Pour into the 3-litre jug until full: 2 litres remain in the 5-litre jug. (2, 3)
- Empty the 3-litre jug. (2, 0)
- Pour the 2 litres into the 3-litre jug. (0, 2)
- Fill the 5-litre jug. (5, 2)
- Pour into the 3-litre jug (room for just 1 litre): exactly 4 litres remain in the 5-litre jug. (4, 3)
The math behind it: since the greatest common divisor of 3 and 5 is 1, you can measure every whole number of litres from 1 to 8 (Bézout’s identity).
Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!