A block of metal is 3 cm on each side. It has a mass of 283.5 grams. What is the density of the metal.