Plain Ada · WebAssembly

ADA Density Explorer

Density is mass divided by volume. Drag a slider and watch the picture move with the numbers. The arithmetic on this page is done by Ada.

Loading the Ada module…

1 · Float or sink

Float tank

A block settles when the fluid it pushes aside weighs the same as it does. If that never happens, it rests on the bottom.

Material

Fluid

Try a pair

Move the mass slider to leave the preset. The density is then mass divided by volume.

Loading the Ada module…

Sources for the constants