Wolfram Research

Function Repository Resource:

SecDegree

Source Notebook

Computes the secant of an angle given in degrees

Contributed by: Paco Jain (Wolfram Research)

ResourceFunction["SecDegree"][x]

computes the secant of an angle x, measured in degrees

Details and Options

Mathematical function, suitable for both symbolic and numerical manipulation.
For certain special arguments, SecDegree automatically evaluates to exact values.
SecDegree can be evaluated to arbitrary numerical precision.
SecDegree automatically threads over lists.

Examples

Basic Examples

Compute the secant of an angle:

In[1]:=
ResourceFunction["SecDegree"][60]
Out[1]=

Plot over a given range of angles:

In[2]:=
Plot[ResourceFunction["SecDegree"][x], {x, 0, 360}]
Out[2]=

Scope

Evaluate numerically:

In[3]:=
ResourceFunction["SecDegree"][43.1]
Out[3]=

Evaluate to high precision:

In[4]:=
N[ResourceFunction["SecDegree"][26], 50]
Out[4]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Resource History

License Information