use for calculating the mass of a body