# Triangle calculator SSA

Please enter two sides and a non-included angle
°

Triangle has two solutions with side c=210.5133222331 and with side c=16.4177021039

### #1 Obtuse scalene triangle.

Sides: a = 116   b = 100   c = 210.5133222331

Area: T = 2538.553327967
Perimeter: p = 426.5133222331
Semiperimeter: s = 213.2576611166

Angle ∠ A = α = 13.95660514012° = 13°57'22″ = 0.24435790475 rad
Angle ∠ B = β = 12° = 0.20994395102 rad
Angle ∠ C = γ = 154.0443948599° = 154°2'38″ = 2.68985740958 rad

Height: ha = 43.76881599944
Height: hb = 50.77110655935
Height: hc = 24.11877561349

Median: ma = 154.2532741915
Median: mb = 162.4377398367
Median: mc = 25.47663774099

Vertex coordinates: A[210.5133222331; 0] B[0; 0] C[113.4655121685; 24.11877561349]
Centroid: CG[107.9932781339; 8.0399252045]
Coordinates of the circumscribed circle: U[105.2576611166; -216.2298830116]
Coordinates of the inscribed circle: I[113.2576611166; 11.90437495053]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 166.0443948599° = 166°2'38″ = 0.24435790475 rad
∠ B' = β' = 168° = 0.20994395102 rad
∠ C' = γ' = 25.95660514012° = 25°57'22″ = 2.68985740958 rad

# How did we calculate this triangle?

The calculation of the triangle progress in two phases. The first phase is such that we try to calculate all three sides of the triangle from the input parameters. The first phase is different for the different triangles query entered. The second phase is the calculation of other characteristics of the triangle, such as angles, area, perimeter, heights, the center of gravity, circle radii, etc. Some input data also results in two to three correct triangle solutions (e.g., if the specified triangle area and two sides - typically resulting in both acute and obtuse) triangle).

### 1. Use the Law of Cosines

$a = 116 \ \\ b = 100 \ \\ β = 12^\circ \ \\ \ \\ b^2 = a^2 + c^2 - 2ac \cos β \ \\ 100^2 = 116^2 + c^2 -2 \cdot \ 116 \cdot \ c \cdot \ \cos (12^\circ ) \ \\ \ \\ c^2 -226.93c +3456 =0 \ \\ \ \\ p=1; q=-226.93; r=3456 \ \\ D = q^2 - 4pr = 226.93^2 - 4\cdot 1 \cdot 3456 = 37673.3353561 \ \\ D>0 \ \\ \ \\ c_{1,2} = \dfrac{ -q \pm \sqrt{ D } }{ 2p } = \dfrac{ 226.93 \pm \sqrt{ 37673.34 } }{ 2 } \ \\ c_{1,2} = 113.46512169 \pm 97.0481006461 \ \\ c_{1} = 210.513222331 \ \\ c_{2} = 16.417021039 \ \\ \ \\ \text{ Factored form of the equation: } \ \\ (c -210.513222331) (c -16.417021039) = 0 \ \\ \ \\ \ \\ c>0$

Now we know the lengths of all three sides of the triangle, and the triangle is uniquely determined. Next, we calculate another its characteristics - same procedure as calculation of the triangle from the known three sides SSS.

$a = 116 \ \\ b = 100 \ \\ c = 210.51$

### 2. The triangle perimeter is the sum of the lengths of its three sides

$p = a+b+c = 116+100+210.51 = 426.51$

### 3. Semiperimeter of the triangle

The semiperimeter of the triangle is half its perimeter. The semiperimeter frequently appears in formulas for triangles that it is given a separate name. By the triangle inequality, the longest side length of a triangle is less than the semiperimeter.

$s = \dfrac{ p }{ 2 } = \dfrac{ 426.51 }{ 2 } = 213.26$

### 4. The triangle area using Heron's formula

Heron's formula gives the area of a triangle when the length of all three sides are known. There is no need to calculate angles or other distances in the triangle first. Heron's formula works equally well in all cases and types of triangles.

$T = \sqrt{ s(s-a)(s-b)(s-c) } \ \\ T = \sqrt{ 213.26(213.26-116)(213.26-100)(213.26-210.51) } \ \\ T = \sqrt{ 6444252.75 } = 2538.55$

### 5. Calculate the heights of the triangle from its area.

There are many ways to find the height of the triangle. The easiest way is from the area and base length. The area of a triangle is half of the product of the length of the base and the height. Every side of the triangle can be a base; there are three bases and three heights (altitudes). Triangle height is the perpendicular line segment from a vertex to a line containing the base.

$T = \dfrac{ a h _a }{ 2 } \ \\ \ \\ h _a = \dfrac{ 2 \ T }{ a } = \dfrac{ 2 \cdot \ 2538.55 }{ 116 } = 43.77 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 2538.55 }{ 100 } = 50.77 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 2538.55 }{ 210.51 } = 24.12$

### 6. Calculation of the inner angles of the triangle using a Law of Cosines

The Law of Cosines is useful for finding the angles of a triangle when we know all three sides. The cosine rule, also known as the law of cosines, relates all three sides of a triangle with an angle of a triangle. The Law of Cosines is the extrapolation of the Pythagorean theorem for any triangle. Pythagorean theorem works only in a right triangle. Pythagorean theorem is a special case of the Law of Cosines and can be derived from it because the cosine of 90° is 0. It is best to find the angle opposite the longest side first. With the Law of Cosines, there is also no problem with obtuse angles as with the Law of Sines, because cosine function is negative for obtuse angles, zero for right, and positive for acute angles. We also use inverse cosine called arccosine to determine the angle from cosine value.

$a^2 = b^2+c^2 - 2bc \cos α \ \\ \ \\ α = \arccos(\dfrac{ b^2+c^2-a^2 }{ 2bc } ) = \arccos(\dfrac{ 100^2+210.51^2-116^2 }{ 2 \cdot \ 100 \cdot \ 210.51 } ) = 13^\circ 57'22" \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 116^2+210.51^2-100^2 }{ 2 \cdot \ 116 \cdot \ 210.51 } ) = 12^\circ \ \\ γ = 180^\circ - α - β = 180^\circ - 13^\circ 57'22" - 12^\circ = 154^\circ 2'38"$

An incircle of a triangle is a circle which is tangent to each side. An incircle center is called incenter and has a radius named inradius. All triangles have an incenter, and it always lies inside the triangle. The incenter is the intersection of the three angle bisectors. The product of the inradius and semiperimeter (half the perimeter) of a triangle is its area.

$T = rs \ \\ r = \dfrac{ T }{ s } = \dfrac{ 2538.55 }{ 213.26 } = 11.9$

The circumcircle of a triangle is a circle that passes through all of the triangle's vertices, and the circumradius of a triangle is the radius of the triangle's circumcircle. Circumcenter (center of circumcircle) is the point where the perpendicular bisectors of a triangle intersect.

$R = \dfrac{ a b c }{ 4 \ r s } = \dfrac{ 116 \cdot \ 100 \cdot \ 210.51 }{ 4 \cdot \ 11.904 \cdot \ 213.257 } = 240.49$

### 9. Calculation of medians

A median of a triangle is a line segment joining a vertex to the midpoint of the opposite side. Every triangle has three medians, and they all intersect each other at the triangle's centroid. The centroid divides each median into parts in the ratio 2:1, with the centroid being twice as close to the midpoint of a side as it is to the opposite vertex. We use Apollonius's theorem to calculate the length of a median from the lengths of its side.

$m_a = \dfrac{ \sqrt{ 2b^2+2c^2 - a^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 100^2+2 \cdot \ 210.51^2 - 116^2 } }{ 2 } = 154.253 \ \\ m_b = \dfrac{ \sqrt{ 2c^2+2a^2 - b^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 210.51^2+2 \cdot \ 116^2 - 100^2 } }{ 2 } = 162.437 \ \\ m_c = \dfrac{ \sqrt{ 2a^2+2b^2 - c^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 116^2+2 \cdot \ 100^2 - 210.51^2 } }{ 2 } = 25.476$

### #2 Obtuse scalene triangle.

Sides: a = 116   b = 100   c = 16.4177021039

Area: T = 197.971085494
Perimeter: p = 232.4177021039
Semiperimeter: s = 116.2098510519

Angle ∠ A = α = 166.0443948599° = 166°2'38″ = 2.89880136061 rad
Angle ∠ B = β = 12° = 0.20994395102 rad
Angle ∠ C = γ = 1.95660514012° = 1°57'22″ = 0.03441395373 rad

Height: ha = 3.41332906024
Height: hb = 3.95994170988
Height: hc = 24.11877561349

Median: ma = 42.08803908002
Median: mb = 66.05111868924
Median: mc = 107.9844352362

Vertex coordinates: A[16.4177021039; 0] B[0; 0] C[113.4655121685; 24.11877561349]
Centroid: CG[43.29440475747; 8.0399252045]
Coordinates of the circumscribed circle: U[8.20985105195; 240.3476586251]
Coordinates of the inscribed circle: I[16.20985105195; 1.70435831029]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 13.95660514011° = 13°57'22″ = 2.89880136061 rad
∠ B' = β' = 168° = 0.20994395102 rad
∠ C' = γ' = 178.0443948599° = 178°2'38″ = 0.03441395373 rad

# How did we calculate this triangle?

The calculation of the triangle progress in two phases. The first phase is such that we try to calculate all three sides of the triangle from the input parameters. The first phase is different for the different triangles query entered. The second phase is the calculation of other characteristics of the triangle, such as angles, area, perimeter, heights, the center of gravity, circle radii, etc. Some input data also results in two to three correct triangle solutions (e.g., if the specified triangle area and two sides - typically resulting in both acute and obtuse) triangle).

### 1. Use the Law of Cosines

$a = 116 \ \\ b = 100 \ \\ β = 12^\circ \ \\ \ \\ b^2 = a^2 + c^2 - 2ac \cos β \ \\ 100^2 = 116^2 + c^2 -2 \cdot \ 116 \cdot \ c \cdot \ \cos (12^\circ ) \ \\ \ \\ c^2 -226.93c +3456 =0 \ \\ \ \\ p=1; q=-226.93; r=3456 \ \\ D = q^2 - 4pr = 226.93^2 - 4\cdot 1 \cdot 3456 = 37673.3353561 \ \\ D>0 \ \\ \ \\ c_{1,2} = \dfrac{ -q \pm \sqrt{ D } }{ 2p } = \dfrac{ 226.93 \pm \sqrt{ 37673.34 } }{ 2 } \ \\ c_{1,2} = 113.46512169 \pm 97.0481006461 \ \\ c_{1} = 210.513222331 \ \\ c_{2} = 16.417021039 \ \\ \ \\ \text{ Factored form of the equation: } \ \\ (c -210.513222331) (c -16.417021039) = 0 \ \\ \ \\ \ \\ c>0$

Now we know the lengths of all three sides of the triangle, and the triangle is uniquely determined. Next, we calculate another its characteristics - same procedure as calculation of the triangle from the known three sides SSS.

$a = 116 \ \\ b = 100 \ \\ c = 16.42$

### 2. The triangle perimeter is the sum of the lengths of its three sides

$p = a+b+c = 116+100+16.42 = 232.42$

### 3. Semiperimeter of the triangle

The semiperimeter of the triangle is half its perimeter. The semiperimeter frequently appears in formulas for triangles that it is given a separate name. By the triangle inequality, the longest side length of a triangle is less than the semiperimeter.

$s = \dfrac{ p }{ 2 } = \dfrac{ 232.42 }{ 2 } = 116.21$

### 4. The triangle area using Heron's formula

Heron's formula gives the area of a triangle when the length of all three sides are known. There is no need to calculate angles or other distances in the triangle first. Heron's formula works equally well in all cases and types of triangles.

$T = \sqrt{ s(s-a)(s-b)(s-c) } \ \\ T = \sqrt{ 116.21(116.21-116)(116.21-100)(116.21-16.42) } \ \\ T = \sqrt{ 39192.46 } = 197.97$

### 5. Calculate the heights of the triangle from its area.

There are many ways to find the height of the triangle. The easiest way is from the area and base length. The area of a triangle is half of the product of the length of the base and the height. Every side of the triangle can be a base; there are three bases and three heights (altitudes). Triangle height is the perpendicular line segment from a vertex to a line containing the base.

$T = \dfrac{ a h _a }{ 2 } \ \\ \ \\ h _a = \dfrac{ 2 \ T }{ a } = \dfrac{ 2 \cdot \ 197.97 }{ 116 } = 3.41 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 197.97 }{ 100 } = 3.96 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 197.97 }{ 16.42 } = 24.12$

### 6. Calculation of the inner angles of the triangle using a Law of Cosines

The Law of Cosines is useful for finding the angles of a triangle when we know all three sides. The cosine rule, also known as the law of cosines, relates all three sides of a triangle with an angle of a triangle. The Law of Cosines is the extrapolation of the Pythagorean theorem for any triangle. Pythagorean theorem works only in a right triangle. Pythagorean theorem is a special case of the Law of Cosines and can be derived from it because the cosine of 90° is 0. It is best to find the angle opposite the longest side first. With the Law of Cosines, there is also no problem with obtuse angles as with the Law of Sines, because cosine function is negative for obtuse angles, zero for right, and positive for acute angles. We also use inverse cosine called arccosine to determine the angle from cosine value.

$a^2 = b^2+c^2 - 2bc \cos α \ \\ \ \\ α = \arccos(\dfrac{ b^2+c^2-a^2 }{ 2bc } ) = \arccos(\dfrac{ 100^2+16.42^2-116^2 }{ 2 \cdot \ 100 \cdot \ 16.42 } ) = 166^\circ 2'38" \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 116^2+16.42^2-100^2 }{ 2 \cdot \ 116 \cdot \ 16.42 } ) = 12^\circ \ \\ γ = 180^\circ - α - β = 180^\circ - 166^\circ 2'38" - 12^\circ = 1^\circ 57'22"$

An incircle of a triangle is a circle which is tangent to each side. An incircle center is called incenter and has a radius named inradius. All triangles have an incenter, and it always lies inside the triangle. The incenter is the intersection of the three angle bisectors. The product of the inradius and semiperimeter (half the perimeter) of a triangle is its area.

$T = rs \ \\ r = \dfrac{ T }{ s } = \dfrac{ 197.97 }{ 116.21 } = 1.7$

The circumcircle of a triangle is a circle that passes through all of the triangle's vertices, and the circumradius of a triangle is the radius of the triangle's circumcircle. Circumcenter (center of circumcircle) is the point where the perpendicular bisectors of a triangle intersect.

$R = \dfrac{ a b c }{ 4 \ r s } = \dfrac{ 116 \cdot \ 100 \cdot \ 16.42 }{ 4 \cdot \ 1.704 \cdot \ 116.209 } = 240.49$

### 9. Calculation of medians

A median of a triangle is a line segment joining a vertex to the midpoint of the opposite side. Every triangle has three medians, and they all intersect each other at the triangle's centroid. The centroid divides each median into parts in the ratio 2:1, with the centroid being twice as close to the midpoint of a side as it is to the opposite vertex. We use Apollonius's theorem to calculate the length of a median from the lengths of its side.

$m_a = \dfrac{ \sqrt{ 2b^2+2c^2 - a^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 100^2+2 \cdot \ 16.42^2 - 116^2 } }{ 2 } = 42.08 \ \\ m_b = \dfrac{ \sqrt{ 2c^2+2a^2 - b^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 16.42^2+2 \cdot \ 116^2 - 100^2 } }{ 2 } = 66.051 \ \\ m_c = \dfrac{ \sqrt{ 2a^2+2b^2 - c^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 116^2+2 \cdot \ 100^2 - 16.42^2 } }{ 2 } = 107.984$