Determine the density of a given sample of brass or iron