Pythagoras Theorem is used to solve problems related to the length of the sides of a triangle.
The formula to is
AB2+AC2=BC2
AB is the opposite side, AC is the adjacent and BC is the hypotenuse of a triangle ABC.
We shall create a JavaScript application to deal with problems related to Pythagoras Theorem. In this application, we shall insert two input boxes for the user to key in the length of the opposite side and the length of the adjacent side. The user can then click on the Calculate Hypotenuse button to find the answer.
Read more here