how to solve that there are two classrooms a and b. if 10 students are shifted from a to b than the number of students in each room becomes same . if 20 students are send from b to a the number of students in a becomes double of b . find the students in each room.
let number of students in classroom a = x ....
let number of students in classroom b = y .....
According to question :- x - 10 = y + 10
---> x - y = 20 ..... (I) ....
Also .... x + 20 = 2(y - 20) ...
----> x + 20 = 2y - 40
----> 2y - x = 60 .... (II) .....
Adding (I) and (II) ...
we get y = 80 .....
x = 20 + y = 100 ......
Hence,
number of students in classroom a = x = 100 .... (ans) ...
let number of students in classroom b = y = 80 .... (ans) ...
Hope this helps !!