The give side measures are 30, 40, 50.
\Since the measure of the longest side is 50, So let c = 50, a = 30 and b = 40.
\Then apply Pythagorean theorem:
.
(Substitute c = 50, a = 30 and b = 40)
Evaluate powers:
.


Since
, the triangle is right triangle.
The measures
, the triangle is right triangle.