708 Centroid and area of spandrel by integration

Problem 708
Compute the area of the spandrel in Fig. P-708 bounded by the x-axis, the line x = b, and the curve y = kxn where n ≥ 0. What is the location of its centroid from the line x = b? Determine also the y coordinate of the centroid.
 

Centroid and area of spandrel under the curve y = kx^n

 

Solution 708