Answer:
15
Explanation:
Given a total of 40 students share equally 6 liters of cordial in class A and 5 liters of cordial in class B, where the students in class A get twice as much as in class B, you want to know the size of class A.
Setup
You can let 'a' represent the number of students in class A. Then the number in class B is (40 -a). The relation between the amounts of cordial that each student receives is ...
6/a = 2×5/(40 -a) . . . . . . students in A get 6/a each, twice the share in B
Solution
Multiplying by a(40 -a), we have ...
6(40 -a) = 10a
240 = 16a . . . . . . . . add 6a, simplify
a = 240/16 = 15
The number of students in class A is 15.
__
Additional comment
We like to work problems like this using ratios when possible. Here, if we halve the amount of cordial allocated to class A, then each of the 40 students receives the same amount. The ratio of cordial volumes in that case will be equal to the ratio of students
(6/2 liters) : (5 liters) = (students in class A) : (students in class B)
3 : 5 = A : B
The totals are 3+5 = 8 ratio units, and A+B = 40 students. Class A is 3/8 of the total, or ...
3/8 · 40 students = 15 students . . . . size of class A
Check: 6 liters / 15 students = 2/5 L/student. 5 liters / 25 students = 1/5 L/student, half that in class A.