A math teacher had $100 to buy three different types of calculators. A basic calculator costs $8. A scientific calculator costs twice the price as the basic while a graphing calculator costs thrice the price as the scientific. How much change did she receive after buying those three different types of calculators?
A scientific calculator costs $8 x 2 = $
<gadget id="calculator">8*2</gadget>
<output>16</output>
16.
A graphing calculator costs $16 x 3 = $
<gadget id="calculator">16*3</gadget>
<output>48</output>
48.
So, she spent $8 + $16 + $48 = $
<gadget id="calculator">8+16+48</gadget>
<output>72</output>
72 for the three calculators.
Therefore, the math teacher received $100 - $72 = $
<gadget id="calculator">100-72</gadget>
<output>28</output>
28 change.

<result>28</result>