${}$

The __CenterOfMass__ command in the Student MultivariateCalculus package is the primary tool for computing a centroid or a center of mass. This command will return the inert integrals defining $\stackrel{\&conjugate0;}{x}$ and $\stackrel{\&conjugate0;}{y}$, or the value of these integrals, or, for a lamina, a graph displaying the region $R$, the surface $\mathrm{\ρ}$, and the point $\left(\stackrel{\&conjugate0;}{x}\,\stackrel{\&conjugate0;}{y}\right)$.

There are also two relevant task templates that implement the __CenterOfMass__ command, one each for a double integral in __Cartesian__ or __polar__ coordinates. However, these task templates iterate in a fixed order: $\mathrm{dy}\mathrm{dx}$ for the Cartesian case; and $\mathrm{dr}d\mathrm{theta;}$ for the polar.

${}$

Of course, the __MultiInt__ command in the Student MultivariateCalculus package (or the modified __int__ command in the Student VectorCalculus package) can be used to integrate over __triangles__, or over all or part of __disks__ and __ellipses__. For each such region, a robust task template implements the underlying command, but the __MultiInt__ command can be more easily implemented from the Context Panel when the Student MultivariateCalculus package has been installed.

${}$