answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write algorithm for area of a triangle?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write an algorithm to calculate the area of a triangle?

Area of any triangle: 0.5*base*perpendicular height


Write an algorithm and draw flowchart to calculate the perimeter of a square?

write an algorithm and draw a flow chart to find perimeter of a square


What is algorithm to write algorithm to the program to access a pointer variable in structure?

Here is the algorithm of the algorithm to write an algorithm to access a pointer in a variable. Algorithmically.name_of_the_structure dot name_of_the _field,eg:mystruct.pointerfield


Write a pascal program that compute an area of a triangle?

{A program to compute the area of a triangle} {by Ogboin W. Meshach} Var; b,h:real; BEGIN Writeln('Triangle'); Write('Base: '); Readln(base); Write('Height: '); Readln(height); area:=0.5*base*height; Writeln('Area: ', area :0:2); End.


Write an algorithm to find the root of quadratic equation?

Write an algorithm to find the root of quadratic equation


A Write the algorithm to concatenate two given strings?

a write the algorithm to concatenate two given string


Write an algorithm to find the area of a rectangleAlgorithmInput length of a rectangleInput width of a rectangleCalculate area using the expression area = length x widthDisplay the area of rectangle?

That's correct!


How do you write algorithms for area of right angled triangle in c?

area = base * height / 2;


How do i write an algorithm using pseudocode especially when it concerns salary and net salary?

to find area and perimeter of a rectangle


Write an algorithm to calculate the area of a circle and display the result . Use the formulae A=¶r where ¶ is equal to 3.1416?

10001/999900


How do you write an algorithm and draw a flow chart to find the area of a circle?

start read pie area circum print area print circum stop


Calculute the area of triangle with 10cm and 30degrees at one angle?

Write the question out properly Write the question out properly