Calculate Median of a Triangle - Analytical Calculation

Calculate the median of a triangle from the given points of A, B and C.The triangle has exactly three medians from three vertexes which are intersecting each other at the triangle's centroid. The median of a triangle is a line segment joining a vertex to the midpoint of the opposing side. The three medians divide the triangle into 6 smaller triangles having the same area irrespective of different shapes.


ma = (1/2) √2c2 + 2b2 - a2 mb = (1/2) √2c2 + 2a2 - b2 mc = (1/2) √2a2 + 2b2 - c2
Where a,b,c - Length of triangle sides.
Please enter the coordinates of a triangle