A black rock has a mass of 12.5 grams. When dropped into a graduated cylinder, the volume rises from 20 ml to 24 ml. What is the density of the rock?