# The dormitory

The dormitory accommodates 150 pupils in 42 rooms, some of which are triple and some are quadruple. Determine how many rooms are triple and how many quadruples.

a =  18
b =  24

### Step-by-step explanation:

a+b = 42
3a+4b = 150

a+b = 42
3•a+4•b = 150

a+b = 42
3a+4b = 150

a = 18
b = 24

Our linear equations calculator calculates it.

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

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

## Related math problems and questions:

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?
• Ski lessons
the ski course attends 80 pupils. They live in triple and quadruple rooms. Count if rooms are the 23. How many are triple and quadruple rooms?
• College
At the college are at 57 rooms 194 students. Some rooms are triple and some quad. How many triple and quadruple rooms there is, if it is all fully occupied?
• Hotel rooms
In the 45 rooms, there were 169 guests. Some rooms were three-bedrooms and some five-bedrooms. How many rooms were there?
• Beds
At the summer camp, there are 41 chalets. Some rooms are 3-beds, some 4-beds. How many campers from 140 are living in 3-bed?
• Cottages
The summer camp is 41 cottages. Rooms are for three and four in them. How many of the 140 campers lives of three?
• ATC camp
The owner of the campsite offers 79 places in 22 cabins. How many of them are triple and quadruple?
• The nuts
There are 159 nuts in two bags, 15 more in the first than in the second, how many nuts are in the bags?
• Euros
Peter, Jane, and Thomas have together € 550. Tomas has 20 euros more than Jane, Peter € 150 less than Thomas. Determine how much has each of them.
• Hostel
Students are accommodated in 22 rooms. Rooms were 4 and 6 bed. How many rooms in which type occupied 106 children there?
• Tea blend
Tea blends are maked from two kinds of tea. In standard tea mixture are two teas in the ratio 1:3 and 40 g costs 42 CZK. In the premium tea mixture are weighing two teas in the ratio 1:1 and 50 grams costs 60 CZK. How much cost 10 grams of more expensive
• Salary
Lawyer got to pay 840 Euros in banknotes of 20 and 50 Eur. Total got 18 banknotes. How many was which?
• Pupils
There are 350 girls in the school, and the other 30% of the total number of pupils are boys. How many pupils does the school have?
• Parking
At a building parking, 245 spaces are for cars, 56 are for vans and the rest are for buses. If 14% of all parking spaces are for buses, how many parking spaces are there in the building? How many spaces are for buses?
• The farmer
The farmer harvested 840 tons of grain in 2006, which was 44% less than in 2005, and one-fifth more than in 2004. How many tons of grain harvested in years 2005 and 2004?
• Tourist cottage
The tourist cottage has 11 rooms for 16 guests, some of them are doubles, some singles. How many are double rooms and how many are single rooms?
• Cranberries
They brought 65 kg of dried cranberries to the packing house. They made 150-gram and 200-gram packages from them. How many kilograms of cranberries did they use for the smaller 200 packages? How many 200 gram packages were there?