# triangle, calculate the length using the vertices.

I have these vertices of a triangle A 5,20 B 5,30 C 15, 25

What are the equations of each of the three line that is: AB, BC, and AC? What is the length of each of the three lines?

Thanks very much.

• It's just the distance between two points. Repeat for each pair of vertices. For example: math.stackexchange.com/questions/367503/… Jan 28, 2017 at 17:34
• Where are you getting stuck? What have you tried so far? Jan 28, 2017 at 17:38

$(y - y_1) = \frac{(y_2 - y_1)}{(x_2 - x_1)} . (x - x_1)$
$\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$