Algorithm and Flowchart for Area of Rhombus using diagonals

[222 views]



Rhombus is a type of parallelogram. There are different formulas by which we can calculate the area of rhombus. It depends on what inputs are provided. Different formulas are-

  • Using base and height
  • Using Diagonals

In today's article, we will be writing an algorithm and flowchart to find area of rhombus using diagonals. Let's first see the formula to calculate Area of Rhombus using diagonals-

Area = (d1 × d2)/2 sq. units

where, d1 and d2 are the diagonals of the rhombus.

Algorithm for Area of Rhombus using diagonals:

Step 1. Start Step 2. Input diagonal1, diagonal2 Step 3. Calculate area = (diagonal1 * diagonal2)/2 Step 4. print "Area of Rhombus=" area Step 5. End

Time Complexity: O(log(diagonal12+diagonal22))

Flowchart for Area of Rhombus using diagonals:

Flowchart for Area of Rhombus using diagonals
Remove WaterMark from Above Flowchart

                 




Comments



Search

For any inquiry, Contact us at atechdailyweb@gmail.com




Facing Programming Errors. Get Answers within 24 hours:


Recommendation Based on your Interest




Quiz For You:
Online Games
Play 2048 Game Online and Relax.
Play 2048 Game Online

Search Tags