Given f(x)+f(π−x)=π2 for all x∈R. We need to find ∫0πf(x)sinxdx.
Let I=∫0πf(x)sinxdx.
Substituting x→π−x:
I=∫0πf(π−x)sin(π−x)dx=∫0πf(π−x)sinxdx
Adding the two expressions:
2I=∫0π[f(x)+f(π−x)]sinxdx=∫0ππ2sinxdx
2I=π2[−cosx]0π=π2(−(−1)−(−1))=2π2
I=π2
The answer is Option C: π2.