A piece of gold has a mass of 760 grams and a volume of 40 cm3. Work out the density of the piece of gold.