How do you find the points on the curve #y=x+2cosx# that have a horizontal tangent line?