Harmadolópont koordinátái

A = (1, 3)
B = (13, 0)
f = Segment(A, B)
a1: x(A)
b1: x(B)
a2: y(A)
b2: y(B)
h1y: ((2 * y(A)) + y(B)) / 3
h1x: ((x(A) * 2) + x(B)) / 3
H: (h1x; h1y)
H_1 = Point({h1x, h1y})
h2x: (a1 + (2 * b1)) / 3
h2y: (a2 + (2 * b2)) / 3
H_2 = Point({h2x, h2y})
szöveg2: "H_2(" + h2x + "; " + h2y + ")"
szöveg1: "H_1(" + h1x + "; " + h1y + ")"
szöveg4_2: "H'_x=\frac{2·" + (LaTeX[a1]) + "+" + (LaTeX[b1]) + "}{3}=" + (LaTeX[h1x]) + ""
szöveg4_3: "H'_y=\frac{2·" + (LaTeX[a2]) + "+" + (LaTeX[b2]) + "}{3}=" + (LaTeX[h1y]) + ""
szöveg4_5: "H''_x=\frac{" + (LaTeX[a1]) + "+2·" + (LaTeX[b1]) + "}{3}=" + (LaTeX[h2x]) + ""
szöveg3: "H''_y=\frac{" + (LaTeX[a2]) + "+2·" + (LaTeX[b2]) + "}{3}=" + (LaTeX[h2y]) + ""