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