Answer:
![Nickels: 13\\\\Half\ dollars:9](https://img.qammunity.org/2020/formulas/mathematics/middle-school/h01rq9hyjhxkzp38hjhsqbzu35ep9jftjj.png)
Explanation:
Let be "n" the number of nickels the boy has in the cash box and "h" the number of half dollars the boy has in the cash box.
Set up a system of equations:
![\left \{ {{n+h=22} \atop {0.05n+0.5h=5.15}} \right.](https://img.qammunity.org/2020/formulas/mathematics/middle-school/ohbgdo5cnynl6ly25wdtwh0n1yqdr7toc0.png)
You can use the Elimination method to solve the system. Multiply the first equation by -0.5, add both equations and then solve for "n":
![\left \{ {{-0.5n-0.5h=-11} \atop {0.05n+0.5h=5.15}} \right.\\...........................\\-0.45n=-5.85\\\\n=(-5.85)/(-0.45)\\\\n=13](https://img.qammunity.org/2020/formulas/mathematics/middle-school/hwztur9a8np15son7lrcbo65bn3r1hxex3.png)
Finally, substitute the value of "n" into the first equation and solve for "h":
![13+h=22\\\\h=22-13\\\\h=9](https://img.qammunity.org/2020/formulas/mathematics/middle-school/y5diegysaqzezeisf34h3rtptc1tjo7buh.png)