There are 100 students in class and the ratio of boys to girls is 3:2. How many more boys than girls are there?
The class was divided into 3 + 2 = 
<gadget id="calculator">3+2</gadget>
<output>5</output>
5 parts.
So each part is equal to 100/5 = 
<gadget id="calculator">100/5</gadget>
<output>20</output>
20 students.
Since there are 3 parts for boys, then there are 20 x 3 = 
<gadget id="calculator">3*20</gadget>
<output>60</output>
60 boys in class.
So there are 100 - 60 = 
<gadget id="calculator">100-60</gadget>
<output>40</output>
40 girls in class.
Hence, there are 60 - 40 = 
<gadget id="calculator">60-40</gadget>
<output>20</output>
20 boys more than girls.

<result>20</result>