Equilateral triangle terms of side length "a" can be derived directly using the Pythagorean theorem or using trigonometry. The area of a triangle is half of one side "a" times the height "h" from that side: The legs of either right triangle formed by an altitude of the equilateral triangle are half of the base "a", and the hypotenuse is the side "a" of the equilateral triangle. The height of an equilateral triangle can be found using the Pythagorean theorem so that Substituting "h" into the area formula (1/2)"ah" gives the area formula for the equilateral triangle: Using trigonometry, the area of
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