sec( z )

The secant of z in SageMath. The reciprocal of cosine:

\[ \sec z = \frac{ 1 }{ \cos z } \]

Plot on the real axis:

Series expansion about the origin:

Special values:

Related functions:   cos   arcsec   asec

Function category: circular functions sagemath-docs