ENME 230 11.6.24 - Centroids by integration