To calculate the length of a segment, we have to know the coordinates of the endpoints of the segment.
In this case, we know the coordinates of the A endpoint, which is a vertex of the triangle ABC.
But we know that the segment whose length we have to calculate is the median in the triangle ABC. That means that the other endpoint is the midpoint of the side BC.
xM = (xB+xC)/2
xM = (-3+3)/2
xM = 0
yM = (yB+yC)/2
yM = (1-3)/2
yM = -1
The coordinates of the midpoint M(0,-1).
Now, we could calculate the length of AM:
AM = sqrt [(xM-xA)^2 + (yM-yA)^2]
AM = sqrt [(0-1)^2 + (-1-3)^2]
AM = sqrt(1+16)
AM = sqrt17
No comments:
Post a Comment