f(x)=x−[x] if [x] odd;1+[x]−x if [x] even
x∈[−10,10]
Find 10π2∫−1010f(x)cosπxdx
f has period 2; f and cosπx are even
Reduce ∫−1010 down to ∫02
[0,2): f(x)=∣x−1∣
f has period 2,f(−x)=f(x)
f(x)cosπx is even
∫−1010fcosπxdx=2∫010fcosπxdx
f(x)cosπx has period 2
∫010fcosπxdx=5∫02fcosπxdx
∫01(1−x)cosπxdx=0−(−π22)=π22
∫12(x−1)cosπxdx=π22
∫02fcosπxdx=π24
∫−1010fcosπxdx=2⋅5⋅π24=π240
10π2⋅π240=4
Answer: 4