The sides of the triangle are 40, 20 units, 30 units.
The longest side is 40 units.
(40)2 = 1600 ...(1)
Now, we will calculate the sum of the squares of of the other two sides.
(20)2 + (30)2 = 400+900 = 1300 ...(2)
From equations (1) & (2), we get:
Thus, these are not the sides of a right-angled triangle.