# Triangle calculator

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

### Right scalene triangle.

Sides: a = 400   b = 900   c = 984.886578018

Area: T = 180000
Perimeter: p = 2284.886578018
Semiperimeter: s = 1142.443289009

Angle ∠ A = α = 23.96224889746° = 23°57'45″ = 0.41882243296 rad
Angle ∠ B = β = 66.03875110254° = 66°2'15″ = 1.15325719972 rad
Angle ∠ C = γ = 90° = 1.57107963268 rad

Height: ha = 900
Height: hb = 400
Height: hc = 365.5254619448

Median: ma = 921.9544445729
Median: mb = 602.087972894
Median: mc = 492.443289009

Inradius: r = 157.557710991
Circumradius: R = 492.443289009

Vertex coordinates: A[984.886578018; 0] B[0; 0] C[162.4555386421; 365.5254619448]
Centroid: CG[382.4477055534; 121.8421539816]
Coordinates of the circumscribed circle: U[492.443289009; 0]
Coordinates of the inscribed circle: I[242.443289009; 157.557710991]

Exterior(or external, outer) angles of the triangle:
∠ A' = α' = 156.0387511025° = 156°2'15″ = 0.41882243296 rad
∠ B' = β' = 113.9622488975° = 113°57'45″ = 1.15325719972 rad
∠ C' = γ' = 90° = 1.57107963268 rad

# How did we calculate this triangle?

### 1. Input data entered: side a, b and angle γ. ### 2. Calculation of the third side c of the triangle using a Law of Cosines 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    