Area of any triangle: 0.5*base*perpendicular height
Chat with our AI personalities
10001/999900
The area of a triangle can be calculated with one main formula. That is, A=(b*h)/2, where A is the area of the triangle, b is the base of the triangle, and h is the height of the triangle.
half base multiply height. 1/2BasexHeight
There are different formulae depending on what is known about the triangle:Base and height,Three sides,Two sides and included angle,Two angles and side,Coordinates of vertices,Plus other variations.A single algorithm to cover all these will be too complicated.
1. Start 2. Input the the value of radius R 3. Let PI=3.14 4. Calculate area=PI*R*R 5. Print area 6.End