How do you find the stationary points of the function #y=cos(x)#?