# Triangle calculator

Please enter what you know about the triangle:
You have entered side b, c and angle γ.

### Obtuse scalene triangle.

Sides: a = 56.49439214689   b = 25.3   c = 31.2

Area: T = 11.64109167764
Perimeter: p = 112.9943921469
Semiperimeter: s = 56.49769607344

Angle ∠ A = α = 178.3109840523° = 178°18'35″ = 3.11220938058 rad
Angle ∠ B = β = 0.75768261438° = 0°45'25″ = 0.01332091081 rad
Angle ∠ C = γ = 0.93333333333° = 0°56' = 0.01662897397 rad

Height: ha = 0.41221121874
Height: hb = 0.92202305752
Height: hc = 0.74662126139

Median: ma = 2.97989611054
Median: mb = 43.84660839924
Median: mc = 40.89658015139

Inradius: r = 0.20660450089
Circumradius: R = 957.7700383638

Vertex coordinates: A[31.2; 0] B[0; 0] C[56.48989929957; 0.74662126139]
Centroid: CG[29.23296643319; 0.2498737538]
Coordinates of the circumscribed circle: U[15.6; 957.5733320859]
Coordinates of the inscribed circle: I[31.19769607344; 0.20660450089]

Exterior(or external, outer) angles of the triangle:
∠ A' = α' = 1.69901594771° = 1°41'25″ = 3.11220938058 rad
∠ B' = β' = 179.2433173856° = 179°14'35″ = 0.01332091081 rad
∠ C' = γ' = 179.0676666667° = 179°4' = 0.01662897397 rad

# How did we calculate this triangle?

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