Explanation:
Let's call the number of girls in the school "g". We know that there are 1000 boys, so the total number of students is 1000 + g.
The problem states that 48% of the total number of students were successful in the examination. Therefore, we can write an equation:
0.48(1000 + g) = 0.5(1000) + 0.4(g)
Simplifying and solving for g:
480 + 0.48g = 500 + 0.4g
0.08g = 20
g = 250
Therefore, the number of girls in the school is 250.