Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the geometric complement to a given angle
ResourceFunction["ComplementaryAngle"][θ] gives the complement to the angle of θ. |
Compute the complement of an angle:
In[1]:= | ![]() |
Out[1]= | ![]() |
ComplementaryAngle works directly on Quantity expressions with units of "Radians":
In[2]:= | ![]() |
Out[2]= | ![]() |
ComplementaryAngle will remain unevaluated for non-numeric input:
In[3]:= | ![]() |
Out[3]= | ![]() |
ComplementaryAngle will return a negative result if the input angle is greater than :
In[4]:= | ![]() |
Out[4]= | ![]() |
For negative input, ComplementaryAngle returns a result greater than :
In[5]:= | ![]() |
Out[5]= | ![]() |
For numeric input, ComplementaryAngle is its own inverse:
In[6]:= | ![]() |
Out[7]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License