From [1, p. 507, 21c]
Asked: Find the centroid of the first octant region inside 9 and below 4.
The region inside 9 is the inside of a cylinder of radius 3 around the z-axis. The equation 4 describes a plane through the -axis under 45 degrees with the -axis:
Use cylindrical coordinates , , and :
Integrate first:
(Why not first? Why not ?).
Boundaries are
Next integrate and :
For the volume :
For :
Etcetera.