Function Repository Resource:

TanDegree

Source Notebook

Compute the tangent of an angle given in degrees

Contributed by: Paco Jain (Wolfram Research)

ResourceFunction["TanDegree"][x]

computes the tangent of an angle x, measured in degrees.

Details and Options

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

Examples

Basic Examples (2) 

Compute the tangent of an angle:

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

Plot over a given range of angles:

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

Scope (2) 

Evaluate numerically:

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

Evaluate to high precision:

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

Requirements

Wolfram Language 11.3 (March 2018) or above

Version History

  • 1.0.0 – 27 November 2018

Related Resources

License Information