Evaluate the definite integral:

Given:

Now let sin x – cos x = t ⇒( cos x + sin x )dx = dt

i.e. f(x) = f(-x)

so, f(x) is an even function.

It is also known that if f(x) is an even function then,