Cas 2
Author: IREM PARIS NORD

A = (1.4000000000000001, 4.22)
B = (-1.76, 1.7)
C = (2.04, -0.7000000000000001)
D = (3.9, -4.42)
F = (6.38, 5.88)
G = (6.38, -5.22)
d = Line(F, G)

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 + ""