Linear density and center of mass