What we need to calculate first is the volume of the container. Remember that the volume of a rectangular prism can be calculate like this:
[tex]volume = L * W * H[/tex]
L = 15p
W = 12p
H = 6p
So volume would be:
[tex]V_{rect} = 15p * 12p * 6p[/tex]
which equals
[tex]V_{rect} = 1080p^{3} [/tex] meters³
Now we want to know how many cubes with a length of 2p meters can be packed into this space. To know that, we have to calculate the volume of a single cube. The volume equation for a cube is this:
[tex]volume = L^{3} [/tex] which can also be written as
[tex]volume = L * L * L[/tex] since cubes have equal lengths
L = 2p
So let's calculate that volume!
[tex]V = 2p * 2p * 2p[/tex]
[tex]V _{cube} = 8p^{3} [/tex] meters³
[tex]V_{rect} = 1080p^{3}
[/tex]
[tex]V_{cube} = 8p ^{3} [/tex]
If we want to know how many cubes fit into the rectangular prism, we just have to divide [tex]V_{rect}[/tex] by [tex]V_{cube}[/tex]:
[tex]number of cubes = \frac{V_{rect} }{ V_{cube} } [/tex]
[tex]number of cubes = \frac{1080p^{3} }{ 8 p^{3} } [/tex]
The p³ will cancel out leaving us with this:
Number of Cubes = 135 cubes will fit into the prism