Given a and b are the lengths of the diagonals AC and BD of a quadrilateral ABCD with the area of quadrilateral as s. The task is to find the perimeter and area of the Varignon’s parallelogram PQRS.
Note: When we join the mid-points of the sides of any quadrilateral, the new quadrilateral formed inside will always be a parallelogram and this paralleogram is known as the Varignon’s paralleogram named upon the French Mathematician Pierre Varignon. Thus, PQRS will be a parallelogram since it is formed by joining the mid-points of quadrilateral ABCD as shown below:
Input: a = 7, b = 8, s = 10
Output: Perimeter = 15, Area = 5
Approach: The perimeter of Varignon’s parallelogram PQRS is equal to the sum of the length of the diagonals of quadrilateral ABCD.
Hence, Perimeter = a + b, where a and b are lengths of diagonals AC and BD.
Also, the area of the Varignon’s parallelogram is always half the area of quadrilateral ABCD.
Hence, Area = s / 2, where s is the area of quadrilateral ABCD.
Below is the implementation of the above approach:
- Area of a triangle inside a parallelogram
- Program to find the Area of a Parallelogram
- Find area of parallelogram if vectors of two adjacent sides are given
- Maximum area of rectangle possible with given perimeter
- Program for Area And Perimeter Of Rectangle
- Program to find the Area and Perimeter of a Semicircle
- Program to calculate area and perimeter of Trapezium
- Program to calculate area and perimeter of equilateral triangle
- Program to calculate area and perimeter of a rhombus whose diagonals are given
- Find maximum volume of a cuboid from the given perimeter and area
- Program to calculate the Area and Perimeter of Incircle of an Equilateral Triangle
- Find all possible coordinates of parallelogram
- Program for Circumference of a Parallelogram
- Find the Missing Point of Parallelogram
- Check whether four points make a parallelogram
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.