f(x) = x²
P = (0.2871502340597524, 0.9041620437404674)
a: x(P)
b: y(P)
g(x) = (a - x)² + (b - f(x))²
g' = Derivative(g)
N_1, N_2, N_3 = Root(g')
a1: x(N_1)
a2: x(N_2)
a3: x(N_3)
Q_1: (a1, f(a1))
Q_2: (a2, f(a2))
Q_3: (a3, f(a3))
a_1 = Segment(P, Q_1)
a_2 = Segment(P, Q_2)
a_3 = Segment(P, Q_3)
c = Segment(N_1, Q_1)
d = Segment(N_2, Q_2)
e = Segment(N_3, Q_3)
T1: "P = " + P
T2: "Q_1 = " + Q_1
T3: "Q_2 = " + Q_2
T4: "Q_3 = " + Q_3