Right triangle Right triangle A right triangle (American English) or right-angled triangle (British English) is a triangle in which one angle is a right angle (that is, a 90-degree angle). The relation between the sides and angles of a right triangle is the basis for trigonometry. The side opposite the right angle is called the "hypotenuse" (side "c" in the figure). The sides adjacent to the right angle are called "legs" (or "catheti", singular: "cathetus"). Side "a" may be identified as the side "adjacent to angle B" and "opposed to" (or "opposite") "angle A", while side "b" is the side "adjacent to
Floyd's triangle Floyd's triangle Floyd's triangle is a right-angled triangular array of natural numbers, used in computer science education. It is named after Robert Floyd. It is defined by filling the rows of the triangle with consecutive numbers, starting with a 1 in the top left corner: Beginning programmers are often assigned the task of writing a program to print out the table in the format shown. The numbers along the left edge of the triangle are the lazy caterer's sequence and the numbers along the right edge are the triangular numbers. The "n"th row sums to "n"("n" + 1)/2, the constant