Triangle

Triangle

A triangle is a three sided geometric shape. The shape forms a basis for the subject of trigonometry and is used throughout mathematics and programming.

Concepts

Law of Sines Notation
Law of Sines

The law of sines is an equation that relates the three sides of a triangle with the three angles of a triangle using the sine function.

Law of Cosines Notation
Law of Cosines

The law of cosines is a more general form of pythagoreans theorem that relates the squares of the sides together using the cosine function.

Right Triangle Notation
Right Triangle

A right triangle is a triangle where one of the three angles is a perpendicular angle. There are three sides of the right triangle: the adjacent, opposite, and hypotenuse sides.

Formulas

Area of Triangle | Formula

The area of a triangle is given by one half multiplied by its width and height.

Area Between Two Vectors | Formula

The area between two vectors is given by the magnitude of their cross product. This formula is a generic way to find the area of any triangle given three points.