Maximum = MAX
Minimum = MIN
Triangle inequality theorem states that a side cannot be larger than the sum of the other two sides.
Therefore the the third side cannot be larger than KNOWN[ 0 ] + KNOWN[ 1 ] = MAX
By the same theorem, the side can also not be smaller than the difference between the two sides.
Therefore the third side cannot be smaller than | KNOWN[ 0 ] - KNOWN[ 1 ] | = MIN
Triangle inequality theorem states that a side must be smaller than the sum of the other two sides.
Lets check for all three sides:
MAIN[ 1 ][ i ] + MAIN[ 1 ][ ( i + 1 ) % 3 ] = ( parseFloat( MAIN[ 1 ][ i ] ) + parseFloat( MAIN[ 1 ][ ( i + 1 ) % 3 ] ) ).toFixed( 1 )
MAIN[ 1 ][ ( i + 2 ) % 3 ]
is not smaller than ( parseFloat( MAIN[ 1 ][ i ] ) + parseFloat( MAIN[ 1 ][ ( i + 1 ) % 3 ] ) ).toFixed( 1 ) so the theorem does not holdholds.
All three sides conform to the inequality theorem, so this triangle can exist.
Not all three sides conform to the inequality theorem, so this triangle cannot exist.