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.

Correct answer:

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.

We will be pleased if You send us any improvements to this math problem. Thank you!


Tips to 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:

  • Triple and quadruple rooms
    hotel 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
    skiing_2 On the ski course leaves 80 pupils. They live in triple and quadruple rooms. Count if rooms is the 23. How many are triple and quadruple rooms?
  • College
    harvard 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
    hotel_3 In the 45 rooms, there were 169 guests. Some rooms were three-bedrooms and some five-bedrooms. How many rooms were there?
  • Beds
    stan_3 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
    chatky The summer camp is 41 cottages. Rooms are for three and four in them. How many of the 140 campers lives of three?
  • The nuts
    oriesky There are 159 nuts in two bags, 15 more in the first than in the second, how many nuts are in the bags?
  • ATC camp
    camp The owner of the campsite offers 79 places in 22 cabins. How many of them are triple and quadruple?
  • Tea blend
    teas 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
  • Hostel
    student Students are accommodated in 22 rooms. Rooms were 4 and 6 bed. How many rooms in which type occupied 106 children there?
  • Euros
    bicycles 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.
  • Salary
    500euro Lawyer got to pay 840 Euros in banknotes of 20 and 50 Eur. Total got 18 banknotes. How many was which?
  • Parking
    cars_27 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?
  • Pupils
    skola_23 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?
  • The farmer
    kombajn 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
    chata_liptov 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
    vaha_22 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?