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
Triangle squares. An obtuse triangle has only one inscribed square, with a side coinciding with part of the triangle's longest side. Within a given triangle, a longer common side is associated with a smaller inscribed square. If an inscribed square has side of length "q" and the triangle has a side of length "a", part of which side coincides with a side of the square, then "q", "a", the altitude "h" from the side "a", and the triangle's area "T" are related according to The largest possible ratio of the area of the inscribed square to the area of the triangle