Secant Function

Plot of the secant function from 0 to τ (tau) radians.
Figure: Secant Function

Summary

Given the angle of a right triangle as input, returns the ratio of the hypotenuse over the adjacent side. The secant function is the inverse of the cosine function.

Syntax

sec(θ)

Arguments

Name Description
θ An angle provided in radians

Return Value

Returns the reciprocal of the cosine of the angle.

Usage

The secant function is the inverse of the cosine function.

Definition

Links