Cas 1
Author: IREM PARIS NORD

A = (0.44, 3.66)
B = (5.259999999999996, 5.13999999999999)
C = (10.619999999999992, 2.24)
D_1 = (-3.6999999999999993, 0.22)
E = (15.619999999999994, 0.22)
d = Line(D_1, E)
D = (14.1, 3.52)

Tool: test
point ; droite ; droite construite
Input: A, a, b
Output: c, H, G, TexteGH

c = OrthogonalLine(A, a)
G = Intersect(a, b)
H = Intersect(a, c)
distanceGH = Distance(G, H)
TexteGH: distanceGH + ""