How would you calculate the density of an object?