Concept:The absolute value function changes its sign depending on which of sinx and cosx is greater. The point of intersection in 0 to 2π is x=4π, so the integral must be split there.Explanation:For 0≤x≤4π, we have sinx≤cosx. Therefore, ∣sinx−cosx∣=cosx−sinx.For 4π≤x≤2π, we have sinx≥cosx. Therefore, ∣sinx−cosx∣=sinx−cosx.Split the given integral into these two intervals:I=∫04π(cosx−sinx)dx+∫4π2π(sinx−cosx)dxIntegrate each term:I=[sinx+cosx]04π+[−cosx−sinx]4π2πEvaluate the limits:I=(21+21−0−1)−(0+1−21−21)Simplify the expression:I=(22−1)−(1−22)=24−2Rationalise 24=22, giving:I=22−2=2(2−1)Answer:The value of the integral is 2(2−1), which matches option C.