Definition of Trapezoid :
A Trapezoid is a convex quadrilateral with at least one pair of parallel sides. The parallel sides are called the bases of the trapezoid and the other two sides which are not parallel are referred to as the legs. There can also be two pairs of bases.
In the above figure CD || AB, so they form the bases and the other two sides i.e., AD and BC form the legs.
The area of a trapezoid can be found by using this simple formula :
a = base
b = base
h = height
Input : base1 = 8, base2 = 10, height = 6 Output : Area is: 54.0 Input :base1 = 4, base2 = 20, height = 7 Output :Area is: 84.0
Area is: 54.0
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.
- Area of circle inscribed in a Isosceles Trapezoid
- Largest trapezoid that can be inscribed in a semicircle
- Find area of the larger circle when radius of the smaller circle and difference in the area is given
- Calculate Volume, Curved Surface Area and Total Surface Area Of Cylinder
- Java Program for Program to calculate area of a Tetrahedron
- Python Program for Program to calculate area of a Tetrahedron
- Program to find area of a triangle
- Program to find area of a circle
- Program to find the area of a Square
- Program to find area of a Circular Segment
- Program to find the Area of Pentagon
- Program to find the Area and Volume of Icosahedron
- Program to find the surface area of the square pyramid
- Program to find volume and surface area of pentagonal prism
- Program to find the Area of a Parallelogram
- Program to find the Area and Perimeter of a Semicircle
- Program to find Area of Triangle inscribed in N-sided Regular Polygon
- Program to find Surface Area and Volume of Octagonal Prism
- Program for Area Of Square
- Program for Area And Perimeter Of Rectangle
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.