Centroids of composite shapes

A shape built from rectangles, triangles and circles has its centroid at the area-weighted average of its parts' centroids, with a hole counted as a negative area, so a table replaces the integral.

From Statics.