Answer: 4
We need to evaluate the integral:
I=∫02π∣xsinx∣dx
Since x≥0 in the interval [0,2π], we can write ∣xsinx∣=x∣sinx∣. Thus:
I=∫02πx∣sinx∣dx
Using the definite integral property ∫abf(x)dx=∫abf(a+b−x)dx, we substitute x with 2π−x:
I=∫02π(2π−x)∣sin(2π−x)∣dx=∫02π(2π−x)∣sinx∣dx
Adding these two expressions for I gives:
2I=∫02π(x+2π−x)∣sinx∣dx=2π∫02π∣sinx∣dx
I=π∫02π∣sinx∣dx
Since ∣sinx∣ has a period of π, we can simplify the integral:
∫02π∣sinx∣dx=2∫0πsinxdx=2[−cosx]0π=2(1−(−1))=4
Substituting this back into the equation for I:
I=4π
Comparing this with I=kπ, we get k=4.