Mass, Volume, and Density

Use the sliders to adjust the mass or volume.

What is the density of Box A when the volume is 4ml? What is its density when the volume is 10ml? How can you make Box A and Box B have the same density? Is there more than one way?