Assignment:
The region in the first quadrant bounded by the graphs of y = x and y = x^2/2 is rotated around the line y=x. Find (a) the centroid of the region and (b) the volume of the solid of revolution.
Provide complete and step by step solution for the question and show calculations and use formulas.