This can be done using the formula $\bar{y}=\frac{\sum y_iA_i}{\sum A_i}$, where $y_i$ is the distance from the reference axis to the centroid of the $i$-th area and $A_i$ is the area of the $i$-th area. For this problem, we have two areas to consider: a rectangle
Show more…