Tom K. answered 07/13/21
Knowledgeable and Friendly Math and Statistics Tutor
Yefim has the correct answer, which is π/2. A nice way to see this result: The function is symmetric about π/2, so, as the interval is defined from 0 to π, π/2 is the center of mass.