Linear mass density and center of mass