# Centroid of a composite section # Scope: Two adjacent rectangles represented by their areas and centroids. # Status: illustrative worked example; engineering review pending. # Inputs are example values. Checks are editable example requirements, not standards. areaA = 1000 mm^2 areaB = 500 mm^2 xA = 10 mm xB = 40 mm centroid := (areaA*xA+areaB*xB)/(areaA+areaB) [mm] check centroid bound: centroid <= xB scenario alternative: areaA = 800 mm^2