if f(x)=cos(5x) find f(pie/4)

Substitue π/4 for x to get

f(π/4)
= cos(5π/4)
= -sqrt(2)/2