Source: http://dominique.frin.free.fr/terminales/coursTSTD2A_fct-cube.pdf