I have an equilateral triangle ABC with vertices (v1,v2,v3) in the cartesian system. Given a point P(x,y) inside of the triangle ABC I have to calculate the barycentric coordinates of point P.
I know that I have to calculate the two Areas in particular Area of triangle Pv1v2 and Area of Triangle Pv2v3 in order to find a, b, c of Point P.
My problem is in finding the height of the Triangle Pv2v3. I know the coordinates of the all the vertices described above. How can i find the Height of triangle Pv2v3 ?