The formula which defines a triangle is:
Number of vertices = 3.
Chat with our AI personalities
If the vertices are at (0, -2) (8, -2) and (9, 1) on the Cartesian plane plane then by using the distance formulae and trigonometry the area of the triangle works out as 12 square units.
There are different formulae, depending on what information you have: If base, b, and vertical height, h, then 0.5*b*h If two sides: a and b and included angle C, then 0.5*a*b*sin(C) If three sides: a, b and c then sqrt[s*(s-a)*(s-b)*(s-c)] where s = 0.5*(a+b+c) there are many other formulae.
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.
Yes, a scalene triangle can be a triangle.
a triangle in a triangle