how to find slope of horizontal tangent line?
To find the points at which the tangent line is horizontal, we have to find where the slope of the function is 0 because a horizontal line's slope is 0. That's your derivative. Now set it equal to 0 and solve for x to find the x values at which the tangent line is horizontal to given function.