Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the reference angle to a given input angle using degrees
ResourceFunction["ReferenceAngleDegree"][θ] gives the reference angle to the angle θ in degrees. |
Compute a reference angle:
In[1]:= |
Out[1]= |
Compute the reference angle for angles lying in each of the four quadrants:
In[2]:= |
Out[2]= |
In[3]:= |
Out[3]= |
Plot the reference angle function for all angles between 0 and 360 degrees:
In[4]:= |
Out[4]= |
ReferenceAngleDegree works directly on Quantity expressions with units of "Radians":
In[5]:= |
Out[5]= |
ReferenceAngleDegree works directly on DMS lists of the type returned by DMSList:
In[6]:= |
Out[6]= |
In[7]:= |
Out[7]= |
ReferenceAngleDegree works directly on DMS strings of the type returned by DMSString:
In[8]:= |
Out[8]= |
In[9]:= |
Out[9]= |
ReferenceAngleDegree will remain unevaluated for non-numeric input:
In[10]:= |
Out[10]= |
ReferenceAngleDegree throws away the sign of its input:
In[11]:= |
Out[12]= |
This work is licensed under a Creative Commons Attribution 4.0 International License