
Compute the location of the centroid in the vertical direction. For this calculation, the top of the rectangular shape will be used as the reference axis.
Since the overall height is 72 mm, the distance to the bottom of the shape is ybot = 72 mm – 40.853 mm = 31.147 mm.