You enter the two legs of a right triangle. The program returns the length of the hypotenuse, the two other angles, then shows the area of the squared sides.
The squared side part only works if the squared sections are drawn inside the stage. If it goes outside things get off a bit.