Source: https://www.univ-montp3.fr/miap/ens/site/pub/uploads/Main.MathBeziers/exercices6.pdf