bn9

bn9

  • NA
  • 24
  • 0

Largest Area of a triangle

Mar 22 2004 10:53 AM
hi, i was wondering if anyone could give me a hand with this program. i am writing a program to find the largest possible area of a triange. i have this basic information so far. any help would be greatly appreciated! thanks To compute the area of a triangle use the formula: area = radical (s(s-a)(s-b)(s-c)) s - (a+b+c)/2 where and a, b, and c are the three sides of the triangle. To calculate the length of the sides you can use the distance formula: radical (x1-x2)^2+(y1+y2)^2 x1,x2 is one point y1,y2 is the second point where are the coordinates of one point and is the coodinates of the second point. DATA 1. 0,0 2. 5,4 3. -7, -4 4. -2, 6 5. 4, -3 6. 1, 10 7. 0, -6

Answers (4)