We know that,
=π4∫−π4cosx dx
=[sinx]π4−π4
=[sinπ4−sin(−π4)]
=[1√2+1√2]
=0
Hence, this is the required solution