A corollary of the Pythagorean theorem’s converse is a simple means of determining whether a triangle is right, obtuse, or acute, as follows. Where c is chosen to be the longest of the three sides:</p>
<pre><code>* If a^2 + b^2 = c^2, then the triangle is right.
- If a^2 + b^2 > c^2, then the triangle is acute.
- If a^2 + b^2 < c^2, then the triangle is obtuse.
</code></pre>
<p>