Work done on objects and center of mass