Show that the graphs of y = sec x and y = cos x have horizontal tangents at x = 0

Show that the graphs of y = sec x and y = cos x have horizontal tangents at x = 0.