The density of a sample is found by