The value of the integral: 3∫1[x]cos(π2(x−[x]))dx
where [x] denotes the largest integer not exceeding x is :
6π
∫31[x]cos(π2(x−[x])dx
=∫21cos(π2(x−1))dx+∫322cos(π2(x−2))dx
=⎡⎢ ⎢ ⎢ ⎢⎣sin(π2(x−1))π2⎤⎥ ⎥ ⎥ ⎥⎦21+2⎡⎢ ⎢ ⎢ ⎢⎣sin(π2(x−2))π2⎤⎥ ⎥ ⎥ ⎥⎦2
=2π[1−0]+4π[1−0]
=6π