# Rhombus Calculator

A Rhombus can be defined as a quadrilateral that disposes of four sides that are equal to each other in length. It also looks similar to a diamond or a kite.

The opposite sides are parallel and opposite angles are equal. The two diagonals bisect each other at right angles.

Another important feature of a Rhombus is that its opposite sides are parallel to each other and its opposite angles are equal. The bisections of the two diagonals are at right angles to each other.

It can also be referred to as a Parallelogram.

The number of decimal places to which the calculations are worked out is preset to be 2, but the user is able to change it.

Also, one important thing that should be remembered is that changing one of the dimensions may alter the values of another dimensions.

### The following algorithms are the functions that the calculator is capable of carrying out:

*
Angle A = 180 - Angle B
*

*
Angle B = 180 - Angle A
*

*
Altitude = sin(B) x S (Sine of Angle B multiplied by Side length)
*

*
Area can be calculated several ways:
*

*
Area = a x S (Altitude x Sides)
*

*
Area = S
^{
2
}
x sin(A) (Side length squared multiplied by the sine of Angle A)
*

*
Area = S
^{
2
}
x sin(B) (Side length squared multiplied by the sine of Angle B)
*

*
Area = (p x q)/2 (diagonal A-A (p) multiplied by diagonal B-B (q) then the result is divided by two)
*

*
Perimeter = 4 x S (Side length multiplied by 4)
*