125k views
2 votes
In a boarding school, if 3 students assign to a room, there will be 20 students without a room. It's students assign to a room, there will be 2 extra rooms. What is the number of students and the amount of room?​

User Sybil
by
8.0k points

1 Answer

3 votes

Let's represent the number of students as "S" and the number of rooms as "R".

From the problem, we can set up the following system of equations:

Equation 1: 3S + 20 = R

Equation 2: S + 2 = (1/3)R

We can solve for S and R by substituting Equation 1 into Equation 2:

S + 2 = (1/3)(3S + 20)

S + 2 = S + (20/3)

(2/3) = (20/3) - S

S = 18

Now we can substitute S = 18 into Equation 1 to solve for R:

3(18) + 20 = R

R = 74

Therefore, there are 18 students and 74 rooms in the boarding school.

User Dinesh Ravva
by
8.9k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.