VinkelA = 45
VinkelC = 50
b = 6.9
A = (0, 0)
C: (b, 0)
C' = Rotate(C, VinkelA°, A)
α = Angle(C, A, C')
a = Line(C', A)
A' = Rotate(A, (-(VinkelC°)), C)
β = Angle(A', C, A)
c = Line(A', C)
B = Intersect(a, c)
polygon1, c_1, a_1, b_1 = Polygon(A, B, C)
γ = Angle(A, B, C)
text1: "Konstruer trekant ABC, hvor givet er:
Vinkel A = " + VinkelA + "°
Side b = " + b + "
Vinkel C = " + VinkelC + "°

Aflæst er:
Vinkel B = " + γ + "
Siden a = " + a_1 + "
Siden c = " + c_1 + "
Arealet = " + polygon1 + ""