The mass of Earth is 5.974x10^24 kg. Assume that Earth is a sphere of diameter 1.28x10^4 km and calculate the average density of Earth in grams per cubic centimeter.