how much money will the sand from the sandbox cost?

Let us find the volume of the sandbox. The sandbox is a rectangular prism. Therefore, the volume of a rectangular prism can be found below
[tex]\begin{gathered} \text{volume}=\text{lwh} \\ \text{where} \\ l=\text{length}=\text{ 4 ft} \\ w=\text{width}=5\text{ ft} \\ h=\text{height}=2\text{ ft} \\ \text{volume}=4\times5\times2=40ft^3 \end{gathered}[/tex]
Therefore,
[tex]\begin{gathered} 0.5ft^3\text{ = \$2.84} \\ 40ft^3=? \\ \text{cross multiply} \\ \text{cost to fill the sand box=}\frac{40\times2.84}{0.5}=\frac{113.6}{0.5}\text{ = \$}227.2 \end{gathered}[/tex]cost to fill sandbox = $227.2