d is the density of water