# Frustum Calculator

A Frustum can be defined as a geometric figure that consists of three dimensions, and its top has been removed by a plane parallel to the base.

The diameters of the top side and the base are parallel to each other and are located in the centre of the axis.

The Frustum Calculator is capable of saving all of the calculations that have been carried out by the user in a form of a table by simply clicking the "Add to Table" button.

It is important to recall some basic information that is relevant to the Frustum Calculator. The dimensions that can be found using the calculator include: the vertical height of the figure Frustum, the slope height of the sides, top and base diameters as well as to and base radiuses.

Square units are used for the following dimensions: the top surface area, lateral surface area, base surface are and total surface area. The volume is calculated in units cubed.

Also, the number of decimal places to which the calculations are carried out it preset to be 2, but it can be changed by the user.

### The Frustum Calculator is capable of applying the following algorithms:

*Slope Height (s) = √((r2 - r1) ^{2}+h^{2})*

*Lateral surface area (L) = π x (r1 + r2) x s*

*Surface area of top (T) = πr1 ^{2}*

*Surface area of base (B) = πr2 ^{2}*

*Total area = T + B + L*

*Volume = (1/3) x π x h x (r1 ^{2} + r2^{2} + (r1 * r2))*