# Triangle calculator VC

### Acute scalene triangle.

**Sides:**a = 7.21111025509 b = 14.14221356237 c = 12.80662484749

**Area:**T = 46

**Perimeter:**p = 34.15994866495

**Semiperimeter:**s = 17.08797433248

**Angle**∠ A = α = 30.53297058999° = 30°31'47″ = 0.53328438876 rad

**Angle**∠ B = β = 85.03302592719° = 85°1'49″ = 1.48440579881 rad

**Angle**∠ C = γ = 64.44400348282° = 64°26'24″ = 1.12546907779 rad

**Height:**h

_{a}= 12.75881045132

**Height:**h

_{b}= 6.50553823869

**Height:**h

_{c}= 7.18439930469

**Median:**m

_{a}= 13

**Median:**m

_{b}= 7.61657731059

**Median:**m

_{c}= 9.22195444573

**Inradius:**r = 2.69332489046

**Circumradius:**R = 7.09877511814

**Vertex coordinates:**A[0; 5] B[-8; -5] C[-2; -9]

**Centroid:**CG[-3.33333333333; -3]

**Coordinates of the circumscribed circle:**U[0; 0]

**Coordinates of the inscribed circle:**I[0.23441955569; 2.69332489046]

**Exterior (or external, outer) angles of the triangle:**

∠ A' = α' = 149.47702941001° = 149°28'13″ = 0.53328438876 rad

∠ B' = β' = 94.97697407281° = 94°58'11″ = 1.48440579881 rad

∠ C' = γ' = 115.56599651718° = 115°33'36″ = 1.12546907779 rad

Calculate another triangle

# How did we calculate this triangle?

The calculation of the triangle has two phases. The first phase calculates all three sides of the triangle from the input parameters. The first phase is different for the different triangles query entered. The second phase calculates other triangle characteristics, 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. We compute side a from coordinates using the Pythagorean theorem

$a=∣BC∣=∣B−C∣a_{2}=(B_{x}−C_{x})_{2}+(B_{y}−C_{y})_{2}a=(B_{x}−C_{x})_{2}+(B_{y}−C_{y})_{2} a=(−8−(−2))_{2}+(−5−(−9))_{2} a=52 =7.21$

### 2. We compute side b from coordinates using the Pythagorean theorem

$b=∣AC∣=∣A−C∣b_{2}=(A_{x}−C_{x})_{2}+(A_{y}−C_{y})_{2}b=(A_{x}−C_{x})_{2}+(A_{y}−C_{y})_{2} b=(0−(−2))_{2}+(5−(−9))_{2} b=200 =14.14$

### 3. We compute side c from coordinates using the Pythagorean theorem

$c=∣AB∣=∣A−B∣c_{2}=(A_{x}−B_{x})_{2}+(A_{y}−B_{y})_{2}c=(A_{x}−B_{x})_{2}+(A_{y}−B_{y})_{2} c=(0−(−8))_{2}+(5−(−5))_{2} c=164 =12.81$

We know the lengths of all three sides of the triangle, so the triangle is uniquely specified. Next, we calculate another of its characteristics - the same procedure for calculating the triangle from the known three sides SSS.

$a=7.21b=14.14c=12.81$

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

$p=a+b+c=7.21+14.14+12.81=34.16$

### 5. Semiperimeter of the triangle

The semiperimeter of the triangle is half its perimeter. The semiperimeter frequently appears in formulas for triangles to be given a separate name. By the triangle inequality, the longest side length of a triangle is less than the semiperimeter.$s=2p =234.16 =17.08$

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

Heron's formula gives the area of a triangle when the length of all three sides is 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=s(s−a)(s−b)(s−c) T=17.08(17.08−7.21)(17.08−14.14)(17.08−12.81) T=2116 =46$

### 7. 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 triangle area is half of the product of the base's length and 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=2ah_{a} h_{a}=a2T =7.212⋅46 =12.76h_{b}=b2T =14.142⋅46 =6.51h_{c}=c2T =12.812⋅46 =7.18$

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

The Law of Cosines is useful for finding a triangle's angles 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 extrapolates 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 the 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 the cosine value.$a_{2}=b_{2}+c_{2}−2bccosαα=arccos(2bcb_{2}+c_{2}−a_{2} )=arccos(2⋅14.14⋅12.8114.14_{2}+12.81_{2}−7.21_{2} )=30°31_{′}47"b_{2}=a_{2}+c_{2}−2accosββ=arccos(2aca_{2}+c_{2}−b_{2} )=arccos(2⋅7.21⋅12.817.21_{2}+12.81_{2}−14.14_{2} )=85°1_{′}49"γ=180°−α−β=180°−30°31_{′}47"−85°1_{′}49"=64°26_{′}24"$

### 9. Inradius

An incircle of a triangle is a tangent circle to each side. An incircle center is called an 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=rsr=sT =17.0846 =2.69$

### 10. Circumradius

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. The circumcenter (center of the circumcircle) is the point where the perpendicular bisectors of a triangle intersect.$R=4rsabc =4⋅2.693⋅17.087.21⋅14.14⋅12.81 =7.1$

### 11. Calculation of medians

A median of a triangle is a line segment joining a vertex to the opposite side's midpoint. 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 of 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}=22b_{2}+2c_{2}−a_{2} =22⋅14.14_{2}+2⋅12.81_{2}−7.21_{2} =13m_{b}=22c_{2}+2a_{2}−b_{2} =22⋅12.81_{2}+2⋅7.21_{2}−14.14_{2} =7.616m_{c}=22a_{2}+2b_{2}−c_{2} =22⋅7.21_{2}+2⋅14.14_{2}−12.81_{2} =9.22$

Calculate another triangle

#### Look also at our friend's collection of math problems and questions:

- triangle
- right triangle
- Heron's formula
- The Law of Sines
- The Law of Cosines
- Pythagorean theorem
- triangle inequality
- similarity of triangles
- The right triangle altitude theorem