# Triangle calculator

You have entered side a, b and c.

### Right scalene Pythagorean triangle.

Sides: a = 30   b = 40   c = 50

Area: T = 600
Perimeter: p = 120
Semiperimeter: s = 60

Angle ∠ A = α = 36.87698976458° = 36°52'12″ = 0.64435011088 rad
Angle ∠ B = β = 53.13301023542° = 53°7'48″ = 0.9277295218 rad
Angle ∠ C = γ = 90° = 1.57107963268 rad

Height: ha = 40
Height: hb = 30
Height: hc = 24

Median: ma = 42.72200187266
Median: mb = 36.05655127546
Median: mc = 25

Vertex coordinates: A[50; 0] B[0; 0] C[18; 24]
Centroid: CG[22.66766666667; 8]
Coordinates of the circumscribed circle: U[25; 0]
Coordinates of the inscribed circle: I[20; 10]

Exterior(or external, outer) angles of the triangle:
∠ A' = α' = 143.1330102354° = 143°7'48″ = 0.64435011088 rad
∠ B' = β' = 126.8769897646° = 126°52'12″ = 0.9277295218 rad
∠ C' = γ' = 90° = 1.57107963268 rad

# How did we calculate this triangle?

### 1. Input data entered: side a, b and c. 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. ### 2. The triangle circumference is the sum of the lengths of its three sides ### 3. Semiperimeter of the triangle ### 4. The triangle area using Heron's formula ### 5. Calculate the heights of the triangle from its area. ### 6. Calculation of the inner angles of the triangle using a Law of Cosines    