Triple and quadruple rooms

Up to 48 rooms, some of which are triple and some quadruple, accommodated 173 people so that all beds are occupied. How many triple and how many quadruple rooms were there?

Correct answer:

a =  19
b =  29

Step-by-step explanation:


a+b=48
3a+4b=173

a+b=48
3·a+4·b=173

a+b = 48
3a+4b = 173

Pivot: Row 1 ↔ Row 2
3a+4b = 173
a+b = 48

Row 2 - 1/3 · Row 1 → Row 2
3a+4b = 173
-0.33b = -9.67


b = -9.66666667/-0.33333333 = 29
a = 173-4b/3 = 173-4 · 29/3 = 19

a = 19
b = 29

Our linear equations calculator calculates it.



Did you find an error or inaccuracy? Feel free to write us. Thank you!







Tips for related online calculators
Do you have a system of equations and looking for calculator system of linear equations?

You need to know the following knowledge to solve this word math problem:

Related math problems and questions: