A bottle holds 18 liters. A jug holds 4 liters and a mug holds 2 liters. How many different ways can the bottle be filled exactly using these jugs and mugs?
Answer
5
The correct answer is 5 — There are 5 different ways.
Step-by-step solution
- Let number of jugs = j, number of mugs = m.
- Set up equation: 4j + 2m = 18.
- Divide by 2: 2j + m = 9.
- For integer j from 0 to 4, compute m = 9 - 2j.
- List valid pairs: (0,9),(1,7),(2,5),(3,3),(4,1).
- There are 5 different ways.
Common mistake: Not considering all integer solutions
Concept tested: Linear combination of jug and mug volumes
Published · How this solution was prepared and checked
← All Jugs and Mugs questions