Triangle calculator VC

Please enter the coordinates of the three vertices


Right scalene triangle.

Sides: a = 2.82884271247   b = 4.24326406871   c = 5.09990195136

Area: T = 6
Perimeter: p = 12.17700873255
Semiperimeter: s = 6.08550436627

Angle ∠ A = α = 33.6990067526° = 33°41'24″ = 0.58880026035 rad
Angle ∠ B = β = 56.3109932474° = 56°18'36″ = 0.98327937232 rad
Angle ∠ C = γ = 90° = 1.57107963268 rad

Height: ha = 4.24326406871
Height: hb = 2.82884271247
Height: hc = 2.35333936217

Median: ma = 4.4722135955
Median: mb = 3.53655339059
Median: mc = 2.55495097568

Inradius: r = 0.98660241491
Circumradius: R = 2.55495097568

Vertex coordinates: A[-5; 4] B[0; 3] C[-2; 1]
Centroid: CG[-2.33333333333; 2.66766666667]
Coordinates of the circumscribed circle: U[0; 0]
Coordinates of the inscribed circle: I[0.65773494328; 0.98660241491]

Exterior(or external, outer) angles of the triangle:
∠ A' = α' = 146.3109932474° = 146°18'36″ = 0.58880026035 rad
∠ B' = β' = 123.6990067526° = 123°41'24″ = 0.98327937232 rad
∠ C' = γ' = 90° = 1.57107963268 rad

Calculate another triangle




How did we calculate this triangle?

1. We compute side a from coordinates using the Pythagorean theorem

a = | beta gamma | = | beta - gamma | ; ; a**2 = ( beta _x- gamma _x)**2 + ( beta _y- gamma _y)**2 ; ; a = sqrt{ ( beta _x- gamma _x)**2 + ( beta _y- gamma _y)**2 } ; ; a = sqrt{ (0-(-2))**2 + (3-1)**2 } ; ; a = sqrt{ 8 } = 2.83 ; ;

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

b = | alpha gamma | = | alpha - gamma | ; ; b**2 = ( alpha _x- gamma _x)**2 + ( alpha _y- gamma _y)**2 ; ; b = sqrt{ ( alpha _x- gamma _x)**2 + ( alpha _y- gamma _y)**2 } ; ; b = sqrt{ (-5-(-2))**2 + (4-1)**2 } ; ; b = sqrt{ 18 } = 4.24 ; ;

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

c = | alpha beta | = | alpha - beta | ; ; c**2 = ( alpha _x- beta _x)**2 + ( alpha _y- beta _y)**2 ; ; c = sqrt{ ( alpha _x- beta _x)**2 + ( alpha _y- beta _y)**2 } ; ; c = sqrt{ (-5-0)**2 + (4-3)**2 } ; ; c = sqrt{ 26 } = 5.1 ; ;


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 = 2.83 ; ; b = 4.24 ; ; c = 5.1 ; ;

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

p = a+b+c = 2.83+4.24+5.1 = 12.17 ; ;

5. Semiperimeter of the triangle

s = fraction{ o }{ 2 } = fraction{ 12.17 }{ 2 } = 6.09 ; ;

6. The triangle area using Heron's formula

T = sqrt{ s(s-a)(s-b)(s-c) } ; ; T = sqrt{ 6.09 * (6.09-2.83)(6.09-4.24)(6.09-5.1) } ; ; T = sqrt{ 36 } = 6 ; ;

7. Calculate the heights of the triangle from its area.

T = fraction{ a h _a }{ 2 } ; ; h _a = fraction{ 2 T }{ a } = fraction{ 2 * 6 }{ 2.83 } = 4.24 ; ; h _b = fraction{ 2 T }{ b } = fraction{ 2 * 6 }{ 4.24 } = 2.83 ; ; h _c = fraction{ 2 T }{ c } = fraction{ 2 * 6 }{ 5.1 } = 2.35 ; ;

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

a**2 = b**2+c**2 - 2bc cos( alpha ) ; ; alpha = arccos( fraction{ a**2-b**2-c**2 }{ 2bc } ) = arccos( fraction{ 2.83**2-4.24**2-5.1**2 }{ 2 * 4.24 * 5.1 } ) = 33° 41'24" ; ; beta = arccos( fraction{ b**2-a**2-c**2 }{ 2ac } ) = arccos( fraction{ 4.24**2-2.83**2-5.1**2 }{ 2 * 2.83 * 5.1 } ) = 56° 18'36" ; ; gamma = arccos( fraction{ c**2-a**2-b**2 }{ 2ba } ) = arccos( fraction{ 5.1**2-2.83**2-4.24**2 }{ 2 * 4.24 * 2.83 } ) = 90° ; ;

9. Inradius

T = rs ; ; r = fraction{ T }{ s } = fraction{ 6 }{ 6.09 } = 0.99 ; ;

10. Circumradius

R = fraction{ a }{ 2 * sin( alpha ) } = fraction{ 2.83 }{ 2 * sin 33° 41'24" } = 2.55 ; ;




Look also our friend's collection of math examples and problems:

See more informations about triangles or more information about solving triangles.