709 Centroid of the area bounded by one arc of sine curve and the x-axis

Problem 709
Locate the centroid of the area bounded by the x-axis and the sine curve $y = a \sin \dfrac{\pi x}{L}$ from x = 0 to x = L.
 

Solution 709