How do you find the density of an object using integrals?