How do you write algorithm for area of a triangle?

1 answer

Answer

1089788

2026-04-16 03:00

+ Follow

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.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.