# Triangle calculator SSA

Please enter two sides and a non-included angle
°

Triangle has two solutions with side c=454.4365580922 and with side c=36.74988830125

### #1 Acute scalene triangle.

Sides: a = 840   b = 830   c = 454.4365580922

Area: T = 182523.1411072
Perimeter: p = 2124.436558092
Semiperimeter: s = 1062.218779046

Angle ∠ A = α = 75.42766930667° = 75°25'36″ = 1.31664441379 rad
Angle ∠ B = β = 73° = 1.2744090354 rad
Angle ∠ C = γ = 31.57333069333° = 31°34'24″ = 0.55110581617 rad

Height: ha = 434.5798907314
Height: hb = 439.8154797764
Height: hc = 803.2965995009

Median: ma = 520.8770280016
Median: mb = 532.7587776671
Median: mc = 803.5066114288

Vertex coordinates: A[454.4365580922; 0] B[0; 0] C[245.5922231967; 803.2965995009]
Centroid: CG[233.3432604296; 267.765533167]
Coordinates of the circumscribed circle: U[227.2187790461; 369.7233087808]
Coordinates of the inscribed circle: I[232.2187790461; 171.832212587]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 104.5733306933° = 104°34'24″ = 1.31664441379 rad
∠ B' = β' = 107° = 1.2744090354 rad
∠ C' = γ' = 148.4276693067° = 148°25'36″ = 0.55110581617 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 = 840 \ \\ b = 830 \ \\ β = 73^\circ \ \\ \ \\ b^2 = a^2 + c^2 - 2ac \cos β \ \\ 830^2 = 840^2 + c^2 -2 \cdot \ 840 \cdot \ c \cdot \ \cos (73^\circ ) \ \\ \ \\ c^2 -491.184c +16700 =0 \ \\ \ \\ p=1; q=-491.184; r=16700 \ \\ D = q^2 - 4pr = 491.184^2 - 4\cdot 1 \cdot 16700 = 174462.17761 \ \\ D>0 \ \\ \ \\ c_{1,2} = \dfrac{ -q \pm \sqrt{ D } }{ 2p } = \dfrac{ 491.18 \pm \sqrt{ 174462.18 } }{ 2 } \ \\ c_{1,2} = 245.59223197 \pm 208.843348955 \ \\ c_{1} = 454.435580922 \ \\ c_{2} = 36.7488830125 \ \\ \ \\ \text{ Factored form of the equation: } \ \\ (c -454.435580922) (c -36.7488830125) = 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 = 840 \ \\ b = 830 \ \\ c = 454.44$

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

$p = a+b+c = 840+830+454.44 = 2124.44$

### 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{ 2124.44 }{ 2 } = 1062.22$

### 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{ 1062.22(1062.22-840)(1062.22-830)(1062.22-454.44) } \ \\ T = \sqrt{ 33314697026.8 } = 182523.14$

### 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 \ 182523.14 }{ 840 } = 434.58 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 182523.14 }{ 830 } = 439.81 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 182523.14 }{ 454.44 } = 803.3$

### 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{ 830^2+454.44^2-840^2 }{ 2 \cdot \ 830 \cdot \ 454.44 } ) = 75^\circ 25'36" \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 840^2+454.44^2-830^2 }{ 2 \cdot \ 840 \cdot \ 454.44 } ) = 73^\circ \ \\ γ = 180^\circ - α - β = 180^\circ - 75^\circ 25'36" - 73^\circ = 31^\circ 34'24"$

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{ 182523.14 }{ 1062.22 } = 171.83$

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{ 840 \cdot \ 830 \cdot \ 454.44 }{ 4 \cdot \ 171.832 \cdot \ 1062.218 } = 433.96$

### 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 \ 830^2+2 \cdot \ 454.44^2 - 840^2 } }{ 2 } = 520.87 \ \\ m_b = \dfrac{ \sqrt{ 2c^2+2a^2 - b^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 454.44^2+2 \cdot \ 840^2 - 830^2 } }{ 2 } = 532.758 \ \\ m_c = \dfrac{ \sqrt{ 2a^2+2b^2 - c^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 840^2+2 \cdot \ 830^2 - 454.44^2 } }{ 2 } = 803.506$

### #2 Obtuse scalene triangle.

Sides: a = 840   b = 830   c = 36.74988830125

Area: T = 14760.11552725
Perimeter: p = 1706.749888301
Semiperimeter: s = 853.3744441506

Angle ∠ A = α = 104.5733306933° = 104°34'24″ = 1.82551485157 rad
Angle ∠ B = β = 73° = 1.2744090354 rad
Angle ∠ C = γ = 2.42766930667° = 2°25'36″ = 0.04223537839 rad

Height: ha = 35.14331316012
Height: hb = 35.56765428253
Height: hc = 803.2965995009

Median: ma = 410.7621780356
Median: mb = 425.735494125
Median: mc = 834.8132781346

Vertex coordinates: A[36.74988830125; 0] B[0; 0] C[245.5922231967; 803.2965995009]
Centroid: CG[94.11437049932; 267.765533167]
Coordinates of the circumscribed circle: U[18.37444415062; 433.5732907202]
Coordinates of the inscribed circle: I[23.37444415062; 17.29661768651]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 75.42766930667° = 75°25'36″ = 1.82551485157 rad
∠ B' = β' = 107° = 1.2744090354 rad
∠ C' = γ' = 177.5733306933° = 177°34'24″ = 0.04223537839 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 = 840 \ \\ b = 830 \ \\ β = 73^\circ \ \\ \ \\ b^2 = a^2 + c^2 - 2ac \cos β \ \\ 830^2 = 840^2 + c^2 -2 \cdot \ 840 \cdot \ c \cdot \ \cos (73^\circ ) \ \\ \ \\ c^2 -491.184c +16700 =0 \ \\ \ \\ p=1; q=-491.184; r=16700 \ \\ D = q^2 - 4pr = 491.184^2 - 4\cdot 1 \cdot 16700 = 174462.17761 \ \\ D>0 \ \\ \ \\ c_{1,2} = \dfrac{ -q \pm \sqrt{ D } }{ 2p } = \dfrac{ 491.18 \pm \sqrt{ 174462.18 } }{ 2 } \ \\ c_{1,2} = 245.59223197 \pm 208.843348955 \ \\ c_{1} = 454.435580922 \ \\ c_{2} = 36.7488830125 \ \\ \ \\ \text{ Factored form of the equation: } \ \\ (c -454.435580922) (c -36.7488830125) = 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 = 840 \ \\ b = 830 \ \\ c = 36.75$

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

$p = a+b+c = 840+830+36.75 = 1706.75$

### 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{ 1706.75 }{ 2 } = 853.37$

### 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{ 853.37(853.37-840)(853.37-830)(853.37-36.75) } \ \\ T = \sqrt{ 217861002.86 } = 14760.12$

### 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 \ 14760.12 }{ 840 } = 35.14 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 14760.12 }{ 830 } = 35.57 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 14760.12 }{ 36.75 } = 803.3$

### 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{ 830^2+36.75^2-840^2 }{ 2 \cdot \ 830 \cdot \ 36.75 } ) = 104^\circ 34'24" \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 840^2+36.75^2-830^2 }{ 2 \cdot \ 840 \cdot \ 36.75 } ) = 73^\circ \ \\ γ = 180^\circ - α - β = 180^\circ - 104^\circ 34'24" - 73^\circ = 2^\circ 25'36"$

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{ 14760.12 }{ 853.37 } = 17.3$

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{ 840 \cdot \ 830 \cdot \ 36.75 }{ 4 \cdot \ 17.296 \cdot \ 853.374 } = 433.96$

### 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 \ 830^2+2 \cdot \ 36.75^2 - 840^2 } }{ 2 } = 410.762 \ \\ m_b = \dfrac{ \sqrt{ 2c^2+2a^2 - b^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 36.75^2+2 \cdot \ 840^2 - 830^2 } }{ 2 } = 425.735 \ \\ m_c = \dfrac{ \sqrt{ 2a^2+2b^2 - c^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 840^2+2 \cdot \ 830^2 - 36.75^2 } }{ 2 } = 834.813$