You are on page 1of 1

# X(1)=((((((((x2-x3))*(y-y3))-((y(2,3))*(x-x3))))*(-(y4-y6)))+(((-(y2-y3)*(x4-x6)*

(y-y6))-(y4-y6))*(x-x6))))/((((((x2-x3)*(y1-y3))-(y2-y3)*(x1-x3)))*((x4-x6)*(y1-
x6))-(y4-y6)*(x1-x6)));
X(2)=(((((((((x3-x1))*(y-y1))-((y3-y1))*(x-x1))))*(-(y5-y4)))+(((-(y3-y1)*(x5-x4
)*(y-y4))-(y5-y4))*(x-x4))))/((((((x3-x1)*(y2-y1))-(y3-y1)*(x2-x1)))*((x5-x4)*(y
2-y4))-(y5-y4)*(x2-x4)));
X(3)=(((((((((x2-x1))*(y-y1))-((y2-y1))*(x-x1))))*(-(y5-y6)))+(((-(y2-y1)*(x5-x6
)*(y-y6))-(y5-y6))*(x-x6))))/((((((x2-x1)*(y3-y1))-(y2-y1)*(x3-x1)))*((x5-x6)*(y
3-y6))-(y5-y6)*(x3-x6)));
X(4)=(((((((((x3-x1))*(y-y1))-((y3-y1))*(x-x1))))*(-(y2-y3)))+(((-(y3-y1)*(x2-x3
)*(y-y3))-(y2-y3))*(x-x3))))/((((((x3-x1)*(y4-y1))-(y3-y1)*(x4-x1)))*((x2-x3)*(y
4-y3))-(y2-y3)*(x4-x3)));
X(5)=(((((((((x3-x1))*(y-y1))-((y3-y1))*(x-x1))))*(-(y2-y1)))+(((-(y3-y1)*(x2-x1
)*(y-y1))-(y2-y1))*(x-x1))))/((((((x3-x1)*(y5-y1))-(y3-y1)*(x5-x1)))*((x2-x1)*(y
5-y1))-(y2-y1)*(x5-x1)));
X(6)=(((((((((x2-x1))*(y-y1))-((y2-y1))*(x-x1))))*(-(y2-y3)))+(((-(y2-y1)*(x2-x3
)*(y-y3))-(y2-y3))*(x-x3))))/((((((x2-x1)*(y6-y1))-(y2-y1)*(x6-x1)))*((x2-x3)*(y
6-y3))-(y2-y3)*(x6-x3)));

Y(1)=((((((((x2-x3)*(y-y3))-(y2-y3)*(x-x3)))*(x4-x6))+(((x2-x3)*(x4-x6)*(y-y6))-
(y4-y6))*(x-x6))))/((((((x2-x3)*(y1-y3))-(y2-y3)*(x1-x3)))*((x4-x6)*y1-y6))-(y4-
y6)*(x1-x6));
Y(2)=((((((((x3-x1)*(y-y1))-(y3-y1)*(x-x1)))*(x5-x4))+(((x3-x1)*(x5-x4)*(y-y4))-
(y5-y4))*(x-x4))))/(((((x3-x1)*(y2-y1))-(y3-y1)*(x2-x1)))*((x5-x4)*(y2-y4))-(y5-
y4)*(x2-x4));
Y(3)=(((((((x2-x1)*(y-y1))-((y2-y1)*(x-x1)))*(x5-x6))+(((x2-x1)*(x5-x6)*(y-y6))-
(y5-y6))*(x-x6))))/(((((x2-x1)*(y3-y1))-(y2-y1)*(x3-x1)))*((x5-x6)*(y3-y6))-(y5-
y6)*(x3-x6));
Y(4)=((((((((x3-x1)*(y-y1))-((y3-y1))*(x-x1)))*(x2-x3))+(((x3-x1)*(x2-x3)*(y-y3)
)-(y2-y3))*(x-x3))))/(((((x3-x1)*(y4-y1))-(y3-y1)*(x4-x1)))*((x2-x3)*(y4-y3))-(y
2-y3)*(x4-x3));
Y(5)=((((((((x3-x1)*(y-y1))-((y3-y1))*(x-x1)))*(x2-x1))+(((x3-x1)*(x2-x1)*(y-y1)
)-(y2-y1))*(x-x1))))/(((((x3-x1)*(y5-1))-(y3-y1)*(x5-x1)))*((x2-x1)*(y5-y1))-(y2
-y1)*(x5-x1));
Y(6)=((((((((x2-x1)*(y-y1))-((y2-y1))*(x-x1)))*(x2-x3))+(((x2-x1)*(x2-x3)*(y-y3)
)-(y2-y3))*(x-x3))))/(((((x2-x1)*(y6-y1))-(y2-y1)*(x6-x1)))*((x2-x3)*(y6-y3))-(y
2-y3)*(x6-x3));