center of gravity how to find code example Example: centre of gravity a point from which the weight of a body or system may be considered to act.