Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Test if three given lengths make a triangle
ResourceFunction["TriangleEdgesQ"][{a,b,c}] returns True if edge lengths (a,b,c) give a valid triangle. |
A 3-4-5 triangle exists:
In[1]:= | ![]() |
Out[1]= | ![]() |
A 3-4-7 triangle does not exist:
In[2]:= | ![]() |
Out[2]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License