sec: Secant (in radians)

secR Documentation

Secant (in radians)

Description

Calculates the value of secant for each element of x in radians.

Usage

sec(x)

Arguments

x

A numeric or complex vector containing values in radians

Value

The secant of each element of x in radians.

Note

Note: If you have a degree angle value, use secd instead.

Author(s)

Irucka Embry

Examples


library(iemisc)

# Examples

sec (seq(-2, 2, by = 1) * pi)

sec ((3 * pi) / 4)

sec (c((7/3) * pi, (5/2) * pi))



iemisc documentation built on Sept. 25, 2023, 5:09 p.m.