Source: https://mathinverses.weebly.com/uploads/2/1/3/6/21367250/fonctions_definitif.pdf