three numbers are given: a, b, c. How to determine for maximum two comparisons
Is there a triangle with the sides of length a, b and s?
in the case of
a + b & gt; c, a + c & gt; b, b + c & gt; a, (A & gt; 0, b & gt; 0, c & gt; 0) everything is clear, but how to make This is for 2 comparisons?
PS The question is not a training, met when preparing for sobesu 🙂
Answer 1, Authority 100%
a + b & gt; C. ABS (A - B) & LT; C.
Answer 2, Authority 100%
Here is another option, from the scalar product of vectors
In general, they are ultimately one of the following to another …