Rs 10.80 is divided among 45 children. 1 boy gets 22p and 1 girl gets 28p. What is total number of boys and girls?
Just for your information, there is an alternate method of getting your answer.
1--From the stated problem, you can write 22B + 28G = 1080.
2--This reduces to 11B + 14G = 540
3--Dividing through by the lowest coefficient yields 1B + G + 3G/11 = 49 += 1/11.
4--(3G - 1)/11 must be an integer as does (12G - 4)/11
5--Divide through by 11 again yielding G + G/11 -4/11
6--(G - 4)/11 must be an integer k making G = 11k + 4
7--Substituting back into (2) yields B = 44 - 14k
8------k....0....1....2....3....4
.......B...44...30...16....2....-
.......G....4...15...26...37...48
Sum........48...45...42...39
9--Introducing the other piece of information from the problem statement, "B + G = 45", the answer is clearly 30 boys and 15 girls.
The method might take a bit more time but it does yield the proper solution for a given sum of boys and girls, in addition to solutions for varying sums of boys and girls. Just thought you might be interested in an alternate approach to problems of this type.
um