parallelogram calculator

bottom a:
bottom b:
high (h):
angle (θ):
area:
perimeter:
short diagonal:
long diagonal:
1. area = bh = absinθ

2. perimeter = 2a + 2b

3. short diagonal = sqrt(a2 + b2 - 2abcos(θ));

4. long diagonal = sqrt(a2 + b2 - 2abcos(π - θ));