How do you determine at which the graph of the function #y=x^2+1# has a horizontal tangent line?