Let's start by naming the points:
A: (2,0), B: (-7,-8) and C: (-2,-7)
The distances between these points will be the lengths of the sides of the triangle. We'll use the distance formula to find these lengths:
AB =
Simplifying:
AB =
AB =
AB =
AC =
Simplifying:
AC =
AC =
AC =
BC =
Simplifying:
AC =
AC =
AC =
Now that we have the lengths of the three sides of the triangle we can start finding the angles. For this we will use the Law of Cosines (since it connects the three sides to an angle):
First I am going to use this to find the largest angle. (I find the largest angle first so that I can choose to use the Law of Sines to find the second angle without having to worry whether the second angle is obtuse or not. There can be no more than one obtuse (or right) angle in a triangle and it will always be the largest angle (which we will have already found).)
The largest angle is opposite the largest side. Our largest side in AB. The angle opposite AB is C. (Draw a picture if this doesn't make sense.) So the equation we get from the Law of Cosines will be:
Simplifying...
Now we solve for cos(C). Subtract 91:
Divide by :
Simplifying:
Now that we've solved for cos(C) we solve for C. The left side is clearly not a special angle value for cos. So we must get out our calculator. (Note: From this point on we will be using rounded-off decimal approximations)
From the inverse cos:
C = 131.06
We could use the Law of Cosines again to find the next angle. But the Law of Sines is a simpler formula (and we've already found an obtuse angle so that is no longer an issue). To find angle A:
Inserting the known values:
Solving for sin(A):
We could use either the Law of Cosines or the Law of Sines to find the third angle. But even easier would be to use the fact that the three angles add up to 180:
A + B + C = 180
18.63 + B + 131.06 = 180
B + 149.69 = 180
B = 180 - 149.69
B = 30.31
So the three angles are (approximately): 18.63, 30.31 and 131.06 degrees.