The critical numbers of the function would be the following:
x = pi/4 + 2npi
x = 7pi/4 + 2npi
x = 3pi/4 + 2npi
x = 5pi/4 + 2npi
I am hoping that these answers have satisfied your queries and it will be able to help you in your endeavors, and if you would like, feel free to ask another question.