Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the geometric complement to a given angle using degrees
ResourceFunction["ComplementaryAngleDegree"][θ] gives the complement to the angle of θ in degrees. |
Compute the complement of an angle:
| In[1]:= |
| Out[1]= |
ComplementaryAngleDegree works directly on Quantity expressions with units of "AngularDegrees":
| In[2]:= |
| Out[2]= |
ComplementaryAngleDegree works directly on DMS lists of the type returned by DMSList:
| In[3]:= |
| Out[3]= |
| In[4]:= |
| Out[4]= |
ComplementaryAngleDegree works directly on DMS strings of the type returned by DMSString:
| In[5]:= |
| Out[5]= |
| In[6]:= |
| Out[6]= |
ComplementaryAngleDegree will remain unevaluated for non-numeric input:
| In[7]:= |
| Out[7]= |
ComplementaryAngleDegree will return a negative result if the input angle is greater than 90°:
| In[8]:= |
| Out[8]= |
For negative input, ComplementaryAngleDegree returns a result greater than 90°:
| In[9]:= |
| Out[9]= |
For numeric input, ComplementaryAngleDegree is its own inverse:
| In[10]:= |
| Out[11]= |
This work is licensed under a Creative Commons Attribution 4.0 International License