how would you know that an object will float or sink?