How do you find the points where the graph of the function #f(x)=x+cosx# has horizontal tangents?