Final answer:
To find the density of a cube, we divide its mass by its volume, which can be calculated by cubing the edge length of the cube. The density of cube A is 81 divided by the cube of its edge length, and the density of cube B is 128 divided by the cube of its edge length.
Step-by-step explanation:
The density of a substance can be calculated by dividing its mass by its volume. The volume of a cube is calculated by cubing the edge length. To find the density of cube A, we divide its mass (81 g) by its volume (which is calculated as the edge length cubed). Similarly, to find the density of cube B, we divide its mass (128 g) by its volume (which is also calculated as the edge length cubed).
Let's assume the edge length of cube A is 'x' and the edge length of cube B is 'y'.
The density of cube A = Mass of cube A / Volume of cube A = 81 g / x^3 g/cm^3.
The density of cube B = Mass of cube B / Volume of cube B = 128 g / y^3 g/cm^3.
Therefore, the density of cube A is 81 / x^3 g/cm^3, and the density of cube B is 128 / y^3 g/cm^3.