Trapezoidal calculator

Parallel side a:
Parallel side b:
Angle (θ):
Angle (Φ):
Height (h):
Area:
Perimeter:
Side c:
Side d:
Diagonal L1H2
Diagonal H1L2

Trapezoidal formula
1. Area = h(a+b)/2
2. Perimeter = a + b + c + d
3. Diagonal L1H2 = sqrt(h2+(b-sqrt(c2-h2))2)
4. Diagonal H1L2 = sqrt(h2+(b-sqrt(d2-h2))2)