# Triangle Generator

A triangle is one of the basic 2D geometrical shapes. A triangle can be determined by 3 different points or the combination of necessary sides or
internal angles to build the triangle. Based on the rules of Congruent triangles, a triangle can be determined by Angle-Angle-Side (AAS),
Side-Angle-Side (SAS), Angle-Side-Angle (ASA) and Side-Side-Side (SSS). On this page, you can generate the triangles online by giving the values of these conditions.

### Law of cosines

a^2 =c^2 + b^2 - 2cb\cos A

b^2=c^2+a^2-2ca\cos B

c^2=a^2 + b^2 - 2ab\cos C

### Law of sines

\dfrac{a}{\sin A } = \dfrac{b}{\sin B } = \dfrac{c}{\sin C }

### SAS Triangle Generator

If two sides of a triangle and their included angle are given, which is known as SAS (side-angle-side), you can use the Law of cosines to solve for the third side and use the Law of sines to solve for the other angles.

### AAS Triangle Generator

If two angles of a triangle and their adjacent side are given, which is known as AAS (angle-angle-side), you can use the Law of sines to solve for the other sides.

### ASA Triangle Generator

If two angles and the included side are given, which is known as ASA (angle-side-angle), you can use the Law of sines to solve for the other sides.

### SSS Triangle Generator

If three sides of a triangle are given, which is known as SSS (side-side-side), you can use the Law of cosines to solve for the angles.