Function Repository Resource:

SinDegree

Source Notebook

Compute the sine of an angle given in degrees

Contributed by: Paco Jain (Wolfram Research)

ResourceFunction["SinDegree"][x]

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

Details and Options

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

Examples

Basic Examples (2) 

Compute the cosine of an angle:

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

Plot over a given range of angles:

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

Scope (2) 

Evaluate numerically:

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

Evaluate to high precision:

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

Applications (1) 

Draw a circle:

In[5]:=
ParametricPlot[{ResourceFunction["SinDegree"][t], Cos[t Degree]}, {t, 0, 360}]
Out[5]=

Version History

  • 1.0.0 – 22 May 2019

Related Resources

License Information