2. If 2 students live in one room in a hostel, there will be a shortage of 5 rooms. If 3 students live in one room 2 room remain vacant. What is the number of students?
Answers
Answer:
6 students
Step-by-step explanation:
There are 42 students in total.
We know that if 2 students live in one room, there will be a shortage of 5 rooms. So the total number of rooms needed is:
x/2 + 5 = number of rooms needed
We also know that if 3 students live in one room, 2 rooms remain vacant. So the total number of rooms needed is:
x/3 + 2 = number of rooms needed
Since both of these equations represent the same total number of rooms needed, we can set them equal to each other:
x/2 + 5 = x/3 + 2
Now we can solve for x.
First, we'll multiply both sides of the equation by 6 (the least common multiple of 2 and 3):
3x + 30 = 2x + 12
Now we can subtract 3x from both sides of the equation:
30 = x - 12
Add 12 to both sides of the equation:
x = 42
Therefore, there are 42 students in total.
Know more from the following links.
brainly.in/question/16766451
brainly.in/question/4211888
#SPJ3