The lengths of the sides of the triangle are 9 cm, 40 cm and 41 cm.
Longest side = 41 cm
Square of longest side = (41)2 = 1681
Side one = 9 cm
Square of side one = (9)2 = 81
Side two = 40 cm
Square of side two = (40)2 = 1600
Sum of square of side one and square of side two = 81 + 1600 = 1681
= Square of longest side
Hence, this is a right-angled triangle.