Courbe de Bézier - Epreuve pratique 2009
Author: Patrice Debart

t = 0.6 (slider from 0 to 1, step 0.025)
C = (4, 6)
A = (0, 6)
B = (2, 0)
G: (1.0 - t) * A + t * B
H: (1.0 - t) * B + t * C
M: (1.0 - t) * G + t * H
dBA = Ray(B, A)
dBC = Ray(B, C)
f(x) = 3.0 / 4.0 * (x - 2.0)^(2.0) + 3.0
a: x(M)
b: f(a)
GH = Segment(G, H)