We need to evaluate ∫020π(∣sinx∣+∣cosx∣)2dx.
Expanding: (∣sinx∣+∣cosx∣)2=sin2x+2∣sinx∣∣cosx∣+cos2x=1+2∣sinxcosx∣.
Using the identity 2sinxcosx=sin2x, we get 2∣sinxcosx∣=∣sin2x∣.
So our integral becomes ∫020π(1+∣sin2x∣)dx=∫020π1dx+∫020π∣sin2x∣dx.
The first integral is simply 20π.
For the second integral, ∣sin2x∣ has period 2π. The number of complete periods in [0,20π] is π/220π=40.
Over one period [0,2π], sin2x≥0, so ∣sin2x∣=sin2x.
∫0π/2sin2xdx=[−2cos2x]0π/2=−2cosπ+2cos0=21+21=1
Therefore, ∫020π∣sin2x∣dx=40×1=40.
Total = 20π+40=20(π+2).
The answer is Option D: 20(π+2).